Posted 15 years ago by Marianne
Avatar
If using FirstVisibleLine, it doesn't move to the line number specified, rather it moves to that count of lines. In other words, if I want the firstvisibleline to be line 50 and I have a collapsed region above line 50 that contains 20 lines, then FirstVisibleLine will actually move to line 70.

Question #1, can you change the behavior of FirstVisibleLine so that it uses the absolute line number instead of the relative line number?

Question #2, if not, what is the easiest way to get the relative line number from the absolute line number, so that I can pass that number to FirstVisibleLine?

Thanks.

------------------------------- Marianne

Comments (1)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
We have to expose the object model for display lines. We'll try to get that in for the next major version. That would help with this issue.


Actipro Software Support

The latest build of this product (v2018.1 build 0342) was released 11 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.