]> 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>
Thu, 18 Jun 2020 12:39:56 +0000 (14:39 +0200)
commit47c3c355315b090bf862278dc11694d5f12ed8b4
treede5e792b16cd52af6c2664c0e0974cbf28646891
parenteec0c1bcba4d700477f0807395f2835083a0e770
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