Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addons: automatic enclose takes over when undesired (e.g. when VTE has the focus) #1370

Open
3-14152898 opened this issue Aug 17, 2024 · 0 comments

Comments

@3-14152898
Copy link

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants