lyx_mirror/src/frontends
Scott Kostyshak 73a7bf9dad Recommit clearing of empty selections in GuiView
A similar fix was reverted (453ce611) because of crashes.
The crashes occurred simply because of a failed check that
we have a buffer view before using it. That is now done in
this commit.

The below commit description is copied from the original
commit (fb05011a):

Empty selections can cause confusing behavior for a few reasons:

(1) some functions behave differently depending on whether there is a
selection. If I press delete, nothing happens (where I expect the
character or inset before the cusor to be deleted). If I toggle bold or
emphasize nothing happens (where if there is no selection the entire
word is toggled). There are other LyX functions that depend on whether
there is a selection or not. Further, I wonder if any part of LyX's code
assumes that if there is a selection it is non-empty.

(2) menu options are incorrectly set. For example, the scissors icon.

For remaining empty selection issues, see #9222.

For more information, see:
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg184758.html
2014-11-07 20:47:55 -05:00
..
qt4 Recommit clearing of empty selections in GuiView 2014-11-07 20:47:55 -05:00
tests CMake: Move biblio test projects into tests group 2014-02-03 20:07:09 +01:00
.gitignore
alert.h On Linux show in crash message box the backtrace 2014-06-14 11:25:25 +02:00
Application.h Implement native reading of mo files. 2013-05-30 22:10:01 +02:00
Clipboard.h GuiLog: Use GuiClipboard to put the log on the clipboard 2014-04-29 15:38:35 +02:00
CMakeLists.txt Cmake testing: Added test_biblio 2013-08-07 15:00:03 +02:00
Delegates.h
FontLoader.h Work around broken math symbol display (bug 7954) 2014-03-08 11:13:39 +01:00
FontMetrics.h Fix positionning of cursor 2014-07-08 21:30:05 +02:00
KeyModifier.h
KeySymbol.h
Makefile.am Add cmake files to autoconf's dist 2014-08-31 15:21:20 +02:00
mouse_state.h
Painter.h Tweak the shape of the parbreak separator. 2014-10-25 23:38:52 +02:00
Selection.h
WorkArea.h
WorkAreaManager.cpp
WorkAreaManager.h