Hey, Iām quite new to Python scripting inside of Notepad++. Since this editor supports using multiple cursors, I would love to control them via Python, too.
How would one do so? Could you point me into a direction? I would like to set additional carets at certain text locations, maybe even pre-select a few characters at the same time. Is this possible via the API?
Best regards and thanks in advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey, Iām quite new to Python scripting inside of Notepad++. Since this editor supports using multiple cursors, I would love to control them via Python, too.
How would one do so? Could you point me into a direction? I would like to set additional carets at certain text locations, maybe even pre-select a few characters at the same time. Is this possible via the API?
Best regards and thanks in advance
Here's an example:
editor.setSelection(0,0)
editor.addSelection(5,6)
editor.addSelection(10,15)
Thank you!