Loading ...
Sorry, an error occurred while loading the content.

[BUG] : Editbox does not (auto)scroll when entering runtime path or tag file from menu

Expand Messages
  • Pedro Gomes
    If one uses the menu to configure the runtime path or the tags file, it does not you to edit or scroll past the length of the editbox. Just add ES_AUTOHSCROLL
    Message 1 of 2 , Jan 1, 2002
    • 0 Attachment
      If one uses the menu to configure the runtime path or the tags file, it does not
      you to edit or scroll past the length of the editbox. Just add ES_AUTOHSCROLL
      when creating the editbox. Below a simple patch that fixes this.
       
      Best Regards
       
      AzY
      --- gui_w32.c Tue Jan 01 16:12:49 2002
      +++ gui_w32.c.old Wed Sep 26 18:08:44 2001
      @@ -2626,7 +2626,7 @@
           /* Edit box */
           if (textfield != NULL)
           {
      - p = add_dialog_element(p, ES_AUTOHSCROLL | ES_LEFT | WS_TABSTOP | WS_BORDER,
      + p = add_dialog_element(p, ES_LEFT | WS_TABSTOP | WS_BORDER,
         PixelToDialogX(2 * dlgPaddingX),
         PixelToDialogY(2 * dlgPaddingY + msgheight),
         PixelToDialogX(dlgwidth - 4 * dlgPaddingX),
    • Bram Moolenaar
      ... Thanks for reporting and fixing this problem. I ll make a patch for it. -- If I tell you you have a beautiful body , would you hold it against me? ///
      Message 2 of 2 , Jan 1, 2002
      • 0 Attachment
        Pedro Gomes wrote:

        > If one uses the menu to configure the runtime path or the tags file,
        > it does not you to edit or scroll past the length of the editbox. Just
        > add ES_AUTOHSCROLL when creating the editbox. Below a simple patch
        > that fixes this.

        Thanks for reporting and fixing this problem. I'll make a patch for it.

        --
        If I tell you "you have a beautiful body", would you hold it against me?

        /// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
        ((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim )))
        \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///
      Your message has been successfully submitted and would be delivered to recipients shortly.