]> git.lyx.org Git - features.git/commit
Reset cursor font when entring an inset with char-forward/backward
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 17 Jul 2015 14:13:34 +0000 (16:13 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 21 Jul 2015 07:24:31 +0000 (09:24 +0200)
commit7675a819496e9964f2264bf8f5f3757431e190e3
treeac9f9176bf47c9f86a2d8f2c9c3ea1b103d1c340
parent0f4c5df9f45e71ac52c59e9d6022a1bce5c8183b
Reset cursor font when entring an inset with char-forward/backward

When entering an inset from the keyboard, setCurrentFont()
was not called and thus the cursor retained the font that was set
before. This could create strange behavior that could often go
unnoticed by the user.

It is easy to imagine many other situations similar to #9597 where
the user could trigger this bug.

Fixes bug #9597.
src/Text2.cpp