Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use QM code to replace in QM editing area
#2
Has been tested successfully Smile


Autotext Autotext1
Trigger $t     Help - how to add the trigger to the macro
Code:
Copy      Help
/b/i/c/m
cs :sub.Sub1 ;;replace $cel to $sel


#sub Sub1 m

;Example: case "$cel_$inp_Name$$"
;QM code:
int h=GetQmCodeEditor
SendMessage(h SCI.SCI_SELECTALL 0 0)
SendMessage(h SCI.SCI_COPY 0 0)
_s.getclip()
_s.findreplace("$cel" "$sel")
_s.setclip
SendMessage(h SCI.SCI_PASTE 0 0)


Messages In This Thread
RE: Use QM code to replace in QM editing area - by win - 04-10-2019, 09:52 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)