Hello All,
I'd like to know if a given line is visible to the user.
I can get the number of visible lines with LinesOnScreen but can't figure
out
how to find the 1'st visible line.
Reason: I have an application where user click on breakpoints to view their
location in source code.
I want to scroll only if the clicked breakpoint is not visible in the
current view.
Thanks.
Bye.
···
----------------------------------------------------------------------------
-
Smile, damn it, smile.
lambda msg: {
‘name’ : ‘Miki Tebeka’,
‘email’ : ‘mikit@zoran.co.il’,
‘url’ : ’ http://www.cs.bgu.ac.il/~tebeka’,
‘quote’ : ‘The only difference between children and adults is the
price of the toys’
}[msg]