Opened 18 years ago
Closed 18 years ago
#3754 closed defect (fixed)
cursor movement at RTL-LTR boundary
Reported by: | Dov Feldstern | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.5.0 |
Component: | BiDi Support | Version: | 1.5.0svn |
Severity: | minor | Keywords: | patch |
Cc: | sts@… |
Description
- Moving RIGHT:
english| WERBEH english english| WERBEH english
english WERBEH| english <--> english |WERBEH english
english WERBE|H english english WERBE|H english
.
.
english W|ERBEH english english W|ERBEH english
english WERBEH| english <--> english |WERBEH english
english WERBEH |english <--> english WERBEH |english
- Moving LEFT is already correct:
english WERBEH |english english WERBEH |english
english WERBEH| english english WERBEH| english
english W|ERBEH english english W|ERBEH english
.
.
english WERBE|H english english WERBE|H english
english WERBEH| english english WERBEH| english
english| WERBEH english english| WERBEH english
Change History (6)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
See patch attached to thread
http://permalink.gmane.org/gmane.editors.lyx.devel/85603. It is meant to be
applied against Stefan's patch for cursor movement, which isn't committed yet.
If for any reason that patch doesn't go in in the end, this fix can probably be
modified for the current code, as well.
comment:3 by , 18 years ago
Cc: | added |
---|
comment:4 by , 18 years ago
New version of the patch (from Stefan) in
http://permalink.gmane.org/gmane.editors.lyx.devel/86074.
comment:5 by , 18 years ago
Keywords: | patch added |
---|---|
Milestone: | → 1.5.0 |
Just to make it a little clearer: the idea is that at the boundary, the cursor
should be placed where it would have been placed in the language that you are
coming from. This means that at a given boundary, the cursor may be placed at p1
if coming from the left (where the language is, say, RTL), but at p2 if coming
from the right (where the language is, say, LTR).