]> git.lyx.org Git - features.git/commit
Fix bug #7518: Assert when selecting in RTL text
authorVincent van Ravesteijn <vfr@lyx.org>
Sun, 29 Apr 2012 20:46:17 +0000 (22:46 +0200)
committerVincent van Ravesteijn <vfr@lyx.org>
Tue, 1 May 2012 09:45:58 +0000 (11:45 +0200)
commit39f06f37c37b1af1207734cdeafd3d324c08da03
treeb55b54379077b2f541e497a028f6840dd751a493
parent0665673d03c22466b4ad0bc1ac53fef3a37f888c
Fix bug #7518: Assert when selecting in RTL text

If we are in rtl text, we *need* to check whether the first character is a
space. We can't use the rtl variable for this because this is only
computed on the last row.

This bug was introduced in [0a137e31/lyxgit] to fix the computation for
freespacing paragraphs. We better can just check whether the paragraph is
freespacing or not.

(cherry picked from commit d7f68078cf3bbf3ea7f5d2b3ac5c7e73555c4681)
src/TextMetrics.cpp
status.20x