Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Function that goes (displays) line "n" in a qm-item
#2
Macro open macro and go to line n
Code:
Copy      Help
str macro="ShowDialog"
int n=10 ;;1-based line index

;open macro and go to line n
mac+ macro
SendMessage GetQmCodeEditor SCI.SCI_GOTOLINE n-1 0

;display a link in QM output or other control that supports tags
str s=
F
;<><open "{macro} /L10">open ShowDialog and go to line {n}.</open> QM 2.3.2.
out s


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)