I finally got it.
My programming level is limited and I can only use the most clumsy method.
I hope someone can provide a better way
Thank you very much for the help of kevin. Without your help, this Function is impossible.
My programming level is limited and I can only use the most clumsy method.
I hope someone can provide a better way
Thank you very much for the help of kevin. Without your help, this Function is impossible.
case 14 ;;Edit
_s.getwintext(id(5 hDlg))
str items=sub.gotoitemedit(_s)
items.findreplace(":sub." " ")
items.findreplace(";;" " ")
_i=ListDialog(items "Which item to Edit" "Select item")
if(_i=0) ret
mac+ _s
int c=GetQmCodeEditor
out _i
SendMessage(c SCI.SCI_GOTOLINE _i 0)
int cp=SendMessage(c SCI.SCI_GETCURRENTPOS 0 0)
cp+12
SendMessage(c SCI.SCI_GOTOPOS cp 0)