Bugs item #1874476, was opened at 2008-01-18 09:43
Message generated for change (Comment added) made by jf505
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1874476&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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Joerg Fischer (jf505)
Assigned to: Nobody/Anonymous (nobody)
Summary: $top_line in continuous wrapping
Initial Comment:
This isn't meant for the new release.
In continuous wrapping, instead of using the absolute line number the
*displayed* line number count (eg, a single real line wrapped visually into
several lines) goes into $top_line. I think this is the wrong idea, because
the visual lines don't have numbers, actually. The line numbers shown in the
gutter and in the statistics line are all the real line numbers.
----------------------------------------------------------------------
>Comment By: Joerg Fischer (jf505)
Date: 2008-01-23 21:22
Message:
Logged In: YES
user_id=918104
Originator: YES
Well, I could solve my problem with
set_wrap_text("none")
topLine = $top_line
set_wrap_mode("continuous")
although this changes the display. (I just needed a anchor point near the
top line displayed.) So, yes, $top_left would be nice in general and isn't
hard to get. In any case, the documentation should mention that $top_line
isn't the absolute number for the top line.
----------------------------------------------------------------------
Comment By: Tony Balinski (ajbj)
Date: 2008-01-18 19:32
Message:
Logged In: YES
user_id=618141
Originator: NO
It might be a good idea to have a position for the first character on that
line, eg $top_left - doing set_cursor_pos($top_left) would put your cursor
at the top left corner of the window. (Funny things may happen if there's
an autoscrolling region in effect.)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1874476&group_id=11005
--
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop