> Would it be possible to have that content remain selected after the script is > applied?
Yes, but "restore" instead of "remain", see `geany.select()`: ```lua local start, stop = geany.select() local s = geany.selection() ... geany.selection(...) geany.select(start, stop) end ``` > If can figure out why this does not apply to multiple lines I can :) This is not provided, I don't know a suitable algorithm. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/discussions/4086#discussioncomment-11457778 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/repo-discussions/4086/comments/[email protected]>
