]> 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>
Wed, 15 Jul 2015 15:41:09 +0000 (17:41 +0200)
commit7ac700920f0de8165b834010e211517098afbe14
treefda9ab3c847eba908948766a967c255cefacd2e2
parent4796e6b33703a4308c39d34972afeae44dab59e0
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

[this is actually commit fdcff02a, which was later reverted at dd61d8cf]
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