#576 Unnecessary window grow when opening file

closed-fixed
Program (402)
9
2008-01-05
2007-01-05
Bert Wesarg
No

The NEdit window unnecessary grow, when a file is opened with a linenumber width that is less or equal the current gutter width, after a first resize was necessary.

To reproduce:

CVS from 2007-01-05, and set MIN_LINE_NUM_COLS to 3 (just to force the problem with small files), with show line numbers option enabled.

open file with < 1000 lines (source/calltips.c)
=> window size doesn't changed
open file with >= 1000 lines (source/macro.c)
=> window size changed by 1, only the gutter (now 4)
open file with < 1000 lines (source/linkdate.c)
=> window size changed by 1, but the gutter is still 4 width

Discussion

<< < 1 2 (Page 2 of 2)
  • Bert Wesarg
    Bert Wesarg
    2007-12-22

    possible fix for all bugs

     
  • Bert Wesarg
    Bert Wesarg
    2007-12-22

    Logged In: YES
    user_id=122956
    Originator: YES

    one small update to the fix_line_gutter_bugs.diff patch: resize gutter after closing last window

    File Added: fix_line_gutter_bugs.diff

     
  • Thorsten Haude
    Thorsten Haude
    2008-01-05

    • status: open --> closed-fixed
     
<< < 1 2 (Page 2 of 2)