Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Debugging: Run line
#2
Can create macro that encloses nonselected parts of QM editor code into #if 0 ... #endif and runs the macro. But then will need to undo.
Other macro could undo it, even if edited. Add some special string to #if 0 and #endif to find what to undo.

#if 0 ;;undo
don't run this
don't run this
don't run this
#endif ;;undo
run this selected text
run this selected text
run this selected text
#if 0 ;;undo
don't run this
don't run this
don't run this
#endif ;;undo

-----------------------

Or insert goto.

goto undo1
don't run this
don't run this
don't run this
;undo1
run this selected text
run this selected text
run this selected text
goto undo2
don't run this
don't run this
don't run this
;undo2


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)