]> git.lyx.org Git - features.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>
Mon, 14 Jan 2019 15:41:12 +0000 (16:41 +0100)
commit7848d3c90c0837e8e8549db37bf4bc5cd7e7dad1
treede5e792b16cd52af6c2664c0e0974cbf28646891
parent0594a4fe72b23a5c45701c5931fa0d060cbfaf5c
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.
src/Text2.cpp