jacobslusser / ScintillaNET

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

How to get current line? #512

Open MRFELIXSENIOR opened 3 years ago

MRFELIXSENIOR commented 3 years ago

there is a function scintilla.CurrentLine but it return an integer i want something like that but it return a string

xv commented 3 years ago

Like this:

string blah = scintilla.Lines[scintilla.CurrentLine].Text;