Skip to content

Fix shortcut conflicts with the feature "Increment number at cursor"

Cristiano Fraga G. Nunes requested to merge cfgnunes/gnome-text-editor:main into main

The shortcut for "Increment number at cursor" (Shift+Ctrl+A) not works in gnome-text-editor.

Note: The shortcut for "Decrement number at cursor" (Shift+Ctrl+X) works well.

This merge request fixes the issue: #623

Details

The actual shortcut collides with the Shift+Ctrl+A as described in https://docs.gtk.org/gtk4/signal.TextView.select-all.html.

The Shift+Ctrl+A is the default bindings for unselecting text in GtkTextView.

The shortcut for "Decrement number at cursor" Shift+Ctrl+X works well.

As a suggestion, a solution is to change the shortcut Shift+Ctrl+A to Shift+Ctrl+D. Note that the key D is near right to the key X (that decrements number).

Edited by Cristiano Fraga G. Nunes

Merge request reports