jacobslusser / ScintillaNET

A Windows Forms control, wrapper, and bindings for the Scintilla text editor.
MIT License
963 stars 243 forks source link

Show line and column #494

Open eldonfsr opened 3 years ago

eldonfsr commented 3 years ago

Hi is possible to show line and column at file open or cursor position.

VPKSoft commented 3 years ago

Hi, The line: Scintilla.CurrentLine The column: Scintilla.GetColumn(Scintilla.CurrentPosition) The current position: Scintilla.CurrentPosition

eldonfsr commented 3 years ago

ok Then don't show left side line number like note pad  or other editors... I think has some status bar to show line and column where is cursor position.

  El lunes, 23 de noviembre de 2020 06:48:46 a. m. PST, Petteri Kautonen notifications@github.com escribió:

Hi, The line: Scintilla.CurrentLine The column: Scintilla.GetColumn(Scintilla.CurrentPosition) The current position: Scintilla.CurrentPosition

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

VPKSoft commented 3 years ago

Nothing prevents you from displaying these values, just add a StatusStrip to the form and update the values when they change.