linuxmint / xed

X-Apps [Text] Editor (Cross-DE, backward-compatible, GTK3, traditional UI)
GNU General Public License v2.0
445 stars 84 forks source link

Sort lines requieres a new shortcut. #645

Closed darkshram closed 2 months ago

darkshram commented 3 months ago
 * xed - Version 3.6.1
 * ALDOS 1.4

Issue

Before version 3.6, Sort lines used the F10 shortcut. Since version 3.6, F10 now assigned to Show overview map, as consequence Sort lines does not work with F10 shortcut.

xed-shortcuts

Steps to reproduce

Update to 3.6.x then try to sort lines using F10 key.

Expected behaviour

Sort lines should have a new updated shortcut.

Other information

Interface and source code still shows F10 as shortcut for Sort lines, but F10 is now assigned to Show overview map.

xed-sort-lines

static const GtkActionEntry action_entries[] =
{
    { "Sort",
      NULL,
      N_("S_ort lines"),
      "F10",
      N_("Sort the current document or selection"),
      G_CALLBACK (sort_cb)
    }
};
JosephMcc commented 3 months ago

This is a consequence of https://github.com/linuxmint/xed/commit/0ecca7db974b87447cc98f847c298b53daad7243