]> git.lyx.org Git - features.git/commit
Auto feature for minibuffer toolbar
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sat, 18 Apr 2015 17:10:33 +0000 (19:10 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 29 Jun 2015 07:21:15 +0000 (09:21 +0200)
commitfdcff02a3124845d1033d3d804cede127850ff0f
treec5c91aaf2872ed6d256ad99f4bd60341a38d6765
parent8a27143e725c8c6bdcd04398475dd5fae13bd5df
Auto feature for minibuffer toolbar

Now the minibuffer toolbar is "auto" by default. It is opened by
command-execute (M-x) and closed when the command is executed without error.

* make lyx::dispatch return a DispatchResult struct

* there is a new MINIBUFFER type of toolbar, that can be used for this use.

* remove special handling of M-x in minnibuffer; Escape can be used instead. Fix focus in this case.

* when minibuffer toolbar is "auto", make the toolbar close itself after
  - a command has been executed without error
  - an empty command has been executed
  - the Escape key has been used
15 files changed:
lib/ui/default.ui
src/LyX.cpp
src/LyX.h
src/frontends/Application.h
src/frontends/qt4/GuiApplication.cpp
src/frontends/qt4/GuiApplication.h
src/frontends/qt4/GuiCommandBuffer.cpp
src/frontends/qt4/GuiCommandBuffer.h
src/frontends/qt4/GuiCommandEdit.cpp
src/frontends/qt4/GuiCommandEdit.h
src/frontends/qt4/GuiToolbar.cpp
src/frontends/qt4/GuiView.cpp
src/frontends/qt4/GuiView.h
src/frontends/qt4/Toolbars.cpp
src/frontends/qt4/Toolbars.h