Hi.

I've been using Geany for a couple decades. I also use the virtual terminal (VTE) a lot with my projects. So do I use addons' "automatically enclose text without requiring shortcuts" option a lot, too.

The trouble is the said addon module takes over even when the VTE is active and, for instance, when I type single or double quotes or even parentheses in the VTE, they are intercepted by the addon to enclose any selected text in the window that is currently visible. If any selection exists in the window, the character is swallowed and the selection is enclosed with that character. Consequently it is not echoed in the VTE.

This situation happens frequently, especially when I need to select something in a window and middle-click inside the VTE to paste it. I tried to pick the habit to also left-click once in the VTE to cancel the selection but it doesn't work (read: I forget most of the time). I tried coping with the bug but it doesn't work either; instead it has become extremely annoying. I've tried multiple times to inspect the source code and fix it myself in order to submit a patch and avoid bothering the developers but I have to confess I'm completely lost and have no idea what to do and how.

Is it possible to disable the enclosing features (both options, with and without shortcuts) at least when the VTE is active? See the picture below as to the options I'm referring to, with the one I use highlighted by me, which is the most critical:
image.png (view on web)

I have Geany version 2.0-1 on Manjaro Linux x86_64, built on 23rd Oct. 2023.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany-plugins/issues/1370@github.com>