Maybe GeanyLua and something like
```lua
local sel = geany.selection()
if (sel ~= nil) and (sel ~= "") then
  sel = string.gsub(sel, "[^\r\n]", "")
  geany.selection(sel)
end
```
?
But the lines must be selected in full.

If the lines are not fully selected or we need to clear one line under the 
cursor, we will have to use `geany.rowcol`, but this function behaves strangely 
with the second parameter. I haven't figured out what's going on yet.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/4047#discussioncomment-11261907
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/repo-discussions/4047/comments/11261...@github.com>

Reply via email to