Skif-off left a comment (geany/geany-plugins#1521)

@advice2020

> They worked even better once I realized you have to add the damn quotes! :)

:)) Well, I said this very rarely and many years ago, but... RTFM!

> The `mode` argument must be one of the following _strings_

:)

> Some of the naming used was tricky, I tried many but could not find the 
> command for the DELETE key, if you or anyone else knows?

Let's be honest, I don't want to check, sorry (I'm writing from my phone), but 
maybe I found the suitable message/solution:
```lua
local iC = geany.caret()
geany.scintilla("SCI_DELETERANGE", iC, 1)
```
Can you try to check it? (Be careful, perhaps `geany.caret` counts from 1, the 
other from 0 (or vice versa).)
If this doesn't work, then you can try `geany.navigate("char", 1)` + 
`SCI_DELETEBACK`.

> there is even these available
> SCI_LOWERCASE & SCI_UPPERCASE

I don't remember if Scintilla is able to work with the non-Latin alphabet in 
this case, but maybe that's why I've been using the 
[luautf8](https://github.com/starwing/luautf8) module for a long time.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1521#issuecomment-3588391476
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany-plugins/issues/1521/[email protected]>

Reply via email to