Posted 20 years ago by Marianne
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?


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

Comments (1)

Posted 20 years ago by Actipro Software Support - Cleveland, OH, USA
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 (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.