mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 06:57:01 +00:00
7ac700920f
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 commitfdcff02a
, which was later reverted atdd61d8cf
]
61 lines
1.7 KiB
XML
61 lines
1.7 KiB
XML
# -*- text -*-
|
|
|
|
# file default.ui
|
|
# This file is part of LyX, the document processor.
|
|
# Licence details can be found in the file COPYING.
|
|
|
|
# author John Levon
|
|
|
|
# Full author contact details are available in file CREDITS.
|
|
|
|
# This is the default LyX user interface definition file.
|
|
# The syntax should be straightforward enough.
|
|
|
|
# The interface is designed (partially) following the KDE Human Interface
|
|
# Guidelines (http://techbase.kde.org/Projects/Usability/HIG)
|
|
|
|
Format 2
|
|
|
|
Include "stdmenus.inc"
|
|
|
|
Include "stdcontext.inc"
|
|
|
|
Include "stdtoolbars.inc"
|
|
|
|
# Which toolbars to use.
|
|
#
|
|
# The second parameter are the flags :
|
|
#
|
|
# on: the toolbar is visible
|
|
# off: the toolbar is not visible
|
|
# auto: the toolbar is automatically shown and hidden depending on the
|
|
# next 3 flags.
|
|
#
|
|
# math: the toolbar is visible only when in math
|
|
# mathmacrotemplate: the toolbar is visible only when in a macro definition
|
|
# table: the toolbar is visible only when in a table
|
|
# review: the toolbar is visible only when inside a tracked change
|
|
# ipa: the toolbar is only visible when inside an ipa inset
|
|
#
|
|
# top: the toolbar should be at the top of the window
|
|
# bottom: the toolbar should be at the bottom of the window
|
|
# left: the toolbar should be at the left of the window
|
|
# right: the toolbar should be at the right of the window
|
|
#
|
|
# samerow: do not create new line for this toolbar
|
|
# (note that order of toolbars is defined in stdtoolbars.inc)
|
|
#
|
|
Toolbars
|
|
"standard" "on,top"
|
|
"view/update" "on,top"
|
|
"extra" "on,top,samerow"
|
|
"review" "auto,review,top"
|
|
"vcs" "off,top"
|
|
"table" "auto,table,bottom"
|
|
"math_panels" "auto,math,bottom"
|
|
"math" "auto,math,bottom"
|
|
"mathmacrotemplate" "auto,mathmacrotemplate,bottom"
|
|
"ipa" "auto,ipa,bottom"
|
|
"minibuffer" "auto,minibuffer,bottom"
|
|
End
|