• Mehdi Sadeghi's avatar
    Force visual word movements for RTL · 494c76dd
    Mehdi Sadeghi authored
    Upon pressing Ctrl-arrow keys, swap direction if
    the pango direction of the current line is RTL.
    
    Problem description by Daniel Boles:
    
      Using Ctrl + Left or Right to jump by words was not accounting for the
      possibility that the text was right-to-left. So, the observed direction
      of movement was opposite to the direction of the arrow key pressed. This
      was unintuitive and inconvenient for users editing RTL text.
    
      This patch gets the Pango direction of the text in the current line when
      Ctrl + an arrow key is pressed, and inverts the direction of movement if
      it is RTL, thus ensuring that the pressed and observed direction match.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=778928
    494c76dd
Name
Last commit
Last update
data Loading commit data...
docs Loading commit data...
gtksourceview Loading commit data...
m4 Loading commit data...
po Loading commit data...
tests Loading commit data...
testsuite Loading commit data...
win32 Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
HACKING Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
autogen.sh Loading commit data...
config.h.win32.in Loading commit data...
configure.ac Loading commit data...
git.mk Loading commit data...
gtksourceview.doap Loading commit data...
gtksourceview.pc.in Loading commit data...