[ nedit-Bugs-1628593 ] Unnecessary window grow when opening file

SourceForge.net noreply at sourceforge.net
Sun May 20 21:40:34 CEST 2007


Bugs item #1628593, was opened at 2007-01-05 12:04
Message generated for change (Comment added) made by lebert
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1628593&group_id=11005

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Program
Group: None
Status: Open
Resolution: None
Priority: 9
Private: No
Submitted By: Bert Wesarg (lebert)
Assigned to: Thorsten Haude (yooden)
Summary: Unnecessary window grow when opening file

Initial Comment:
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




----------------------------------------------------------------------

>Comment By: Bert Wesarg (lebert)
Date: 2007-05-20 21:40

Message:
Logged In: YES 
user_id=122956
Originator: YES

ok, my last comment doesn't really fit to this bug report, but it should
be the same problem.

and ajbj, the line numbers are shown fine, only the automatic
window/gutter wide setting is not correct or at least inconsistent.

----------------------------------------------------------------------

Comment By: Bert Wesarg (lebert)
Date: 2007-05-20 21:24

Message:
Logged In: YES 
user_id=122956
Originator: YES

more examples, this time with "Move Tab to ...":

I)

1. open in a new fresh nedit window a file with >10000 lines (so the
gutter does change)
2. open in a new fresh nedit window a file with <10000 lines (so the
gutter don't change)
3. use the "move tab to..." menu command to move the <10000 lines file to
the >10000 lines window
result: the line gutter for the <10000 lines file is still 4, not 5 as the
line gutter for the >10000 lines tab
even after switching tabs the gutter don't change

II)

1. open in a new fresh nedit window a file with <10000 lines (so the
gutter don't change)
2. open in a new fresh nedit window a file with >10000 lines (so the
gutter does change)
3. use the "move tab to..." menu command to move the >10000 lines file to
the <10000 lines window
result: the line gutter for the <10000 lines file is still 4, not 5 as the
line gutter for the >10000 lines tab. but the window was not grown, so one
column is missing from the >10000 lines tab


----------------------------------------------------------------------

Comment By: Tony Balinski (ajbj)
Date: 2007-03-02 00:19

Message:
Logged In: YES 
user_id=618141
Originator: NO

Sounds like [ 1588932 ] "line number not shown correctly" to me.

----------------------------------------------------------------------

Comment By: Thorsten Haude (yooden)
Date: 2007-01-05 13:11

Message:
Logged In: YES 
user_id=119143
Originator: NO

Possibly a follow-up to SF#1055649.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1628593&group_id=11005


More information about the Develop mailing list