]> 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>
Sun, 29 Apr 2012 20:47:06 +0000 (22:47 +0200)
commitd7f68078cf3bbf3ea7f5d2b3ac5c7e73555c4681
tree7dd789ac8b611773e5f2fc1e12eeb7b09f9c76f7
parent63279938670e753b825ebb42c68d9b6be3a3937a
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.
src/TextMetrics.cpp