]> git.lyx.org Git - lyx.git/commit
Allow to type a space in front of another one
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 14 Jan 2019 15:37:10 +0000 (16:37 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 16 Jan 2019 09:38:47 +0000 (10:38 +0100)
commitaa2f5eb426db6d3ea307c726fe7d649d9634f92d
treeb12365df06e6a69161f6007608d6201128b03790
parenta54147d0879bd399f26c0586c2c58e06abf3b881
Allow to type a space in front of another one

This is a follow-up to 714b731e. This fixes the issue when the cursor
is in front of a space
  abc| def
and one inserts another space (to start a word). DEPM would eat one
space and produce
  abc |def
instead of
  abc | def

Additionally, fix the same_par boolean, wheich did not take the cell
index into account.

Related to ticket #11412.

(cherry picked from commit 7848d3c90c0837e8e8549db37bf4bc5cd7e7dad1)
src/Text2.cpp