In Notepad++ and in other editors there is the function "Multi Editing" to mark and edit several code areas at the same time.
This is how it looks in Notepad++: https://notepad-plus-plus.org/assets/im ... tiEdit.gif
This Scintilla function can be easily enabled:
Code: Select all
ScintillaSendMessage(0, #SCI_SETRECTANGULARSELECTIONMODIFIER, #SCMOD_ALT) ; select rectangle range by holding down the ALT key while dragging with the mouse
ScintillaSendMessage(0, #SCI_SETMULTIPLESELECTION, 1) ; select multiple ranges by holding down the CTRL or CMD key while dragging with the mouse
ScintillaSendMessage(0, #SCI_SETMULTIPASTE, #SC_MULTIPASTE_EACH)
ScintillaSendMessage(0, #SCI_SETADDITIONALSELECTIONTYPING, 1)