Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Current line number in QM Editor
#2
Macro Macro2730
Code:
Copy      Help
int h=GetQmCodeEditor
int pos=SendMessage(h SCI.SCI_GETANCHOR 0 0)
int line=SendMessage(h SCI.SCI_LINEFROMPOSITION pos 0)
out line

line=2
SendMessage(h SCI.SCI_GOTOLINE line 0)

http://www.scintilla.org/ScintillaDoc.html


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)