How to handle ESCAPE in a memberlist?

SyntaxEditor for Windows Forms Forum

Posted 18 years ago by Hans-Jürgen Schoo - ThyssenKrupp Krause
Avatar
Hi,
when the user selected something in the memberlist but then pressed ESCAPE, how can I close the memberlist without inserting the seleted item?
Is there an easy way to move the cursor to a specific line - or how can I calculate the offset from the line number?
Thanks for your help!
(We are using Version2.5)

Comments (1)

Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi there... make sure you download the latest 2.5 maintenance release. The Escape bug was fixed in one of those.

There is an EditorView.GoToLine method you can call. Also, Document.OffsetToPosition and PositionToOffset help with the other question.


Actipro Software Support

The latest build of this product (v24.1.0) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.