]> git.lyx.org Git - features.git/commit
Do not allow copying a separator without a following par end.
authorEnrico Forestieri <forenr@lyx.org>
Wed, 6 Aug 2014 00:21:18 +0000 (02:21 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Wed, 6 Aug 2014 00:21:18 +0000 (02:21 +0200)
commit39492b0cd78ab1f9517c556b36236066e86b18ba
treefc9f51098d66fc12a7f7178f3c0c0ac4a3b98499
parentad1a553454054b76fb8e1b3faf52bbe033409423
Do not allow copying a separator without a following par end.

This makes virtually impossible copying a separator inset whithout
also copying the end of paragraph. These insets are not supposed to
be directly inserted by users. For example, the parbreak version
represents a LaTeX paragraph break, not a LyX one. So, if it is
possible to copy and paste it by alone, an unsespecting user may be
surprised to see a paragraph break in the output but not on the LyX
screen (because of the lack of indentation, for example).
In this way, it also becomes a LyX par break from a user point of
view, not any more useful than simply introducing a par break by
hitting <return> (except in those cases where it makes a difference,
in which case they are automatically inserted by LyX).
src/Row.cpp