Not logged in
▾
Log In
Register
Forgot Password
Resend Validation E-mail
PRODUCTS▾
WPF Controls
Avalonia Controls
Windows Forms Controls
Universal Windows Controls
Icons
Apps
DOWNLOAD
BUY
PURCHASE
SUPPORT
COMPANY
BLOG
Line and Col numbers
SyntaxEditor for Windows Forms Forum
Previous
thread
Back to Forum
Up
Next
thread
Posted
14 years ago
by
Radjesh Klauke
- Mr., X-impress
Version:
4.0.0288
How do I show on which line and column my cursor is? (property)
[Modified at 03/04/2011 09:13 AM]
Comments
(5)
Posted
14 years ago
by
Actipro Software Support
- Cleveland, OH, USA
This property (editor.Caret.DisplayDocumentPosition) has line and character properties on it for display purposes (1-based).
Actipro Software Support
Posted
14 years ago
by
Radjesh Klauke
- Mr., X-impress
Thanks. I was wondering how to "activate" this on editor created at runtime. The Form_KeyPress of Form_KeyDown aren't the way. (at least... it doesn't work proper)
Posted
14 years ago
by
Actipro Software Support
- Cleveland, OH, USA
You should use the SyntaxEditor.SelectionChanged event like we do in our sample.
Actipro Software Support
Posted
14 years ago
by
Radjesh Klauke
- Mr., X-impress
That won't work on a programmatically created editor...
Posted
14 years ago
by
Radjesh Klauke
- Mr., X-impress
Needed to create a AddHandler ;)
The latest build of this product (v24.1.1) was released 5 months ago, which was after the last post in this thread.
Add Comment
Please
log in
to a validated account to post comments.