geany
geany copied to clipboard
Add an option to disable middle-click paste
I have a sensitive and soft mouse wheel. It always accidentally paste stuff to break my code. I can't find an easy solution for this yet. I'd like to have an option to disable this behavior.
Middle mouse paste is built into the Scintilla editing widget Geany uses which does not have an option.
https://unix.stackexchange.com/questions/24330/how-can-i-turn-off-middle-mouse-button-paste-functionality-in-all-programs
Note that the desired functionality sylphenix requested is NOT necessarily 100% synonymous with the unix stackexchange link, as the latterrefers to all programs. For instance, quick copy/pasting may still be useful on a terminal such as KDE konsole, whereas it may be more annoying in editors. So I think the question should be whether the time investment for this option is worth it or not. I think it may be useful under a mouse/scroll settings/options.
It might be possible for a plugin to intercept the GTK middle click signal before it gets to Scintilla, somebody could try.