use dialog-show with search dialogs

Now that focus setting works, and since find dialog can be closed with
Esc, this makes sense to get back from workarea to dialog.
This commit is contained in:
Juergen Spitzmueller 2021-02-16 13:35:04 +01:00
parent 109e98d945
commit 222d62312e
5 changed files with 11 additions and 15 deletions

View File

@ -72,8 +72,8 @@ Format 5
\bind "C-S-M" "math-display"
\bind "C-M-n" "command-sequence math-display; math-number-toggle;"
\bind "C-f" "dialog-toggle findreplace"
\bind "C-S-f" "dialog-toggle findreplaceadv"
\bind "C-f" "dialog-show findreplace"
\bind "C-S-f" "dialog-show findreplaceadv"
\bind "C-i" "inset-toggle" # 'i' for Inset
\bind "C-M-i" "inset-settings"

View File

@ -54,9 +54,9 @@ Format 5
# this is "quoted-insert" a total different meaning from "quote-insert"
\bind "C-q" "self-insert \""
#bind "C-r" "------"
\bind "C-s" "dialog-toggle findreplace"
\bind "C-S-s" "dialog-toggle findreplaceadv"
\bind "M-~S-percent" "dialog-toggle findreplaceadv"
\bind "C-s" "dialog-show findreplace"
\bind "C-S-s" "dialog-show findreplaceadv"
\bind "M-~S-percent" "dialog-show findreplaceadv"
\bind "C-t" "chars-transpose"

View File

@ -143,8 +143,8 @@ Format 5
\bind "C-e" "search-string-set"
\bind "C-M-e" "font-emph"
# +: "Command-F" # Open a Find window
\bind "C-f" "dialog-toggle findreplace"
\bind "C-S-f" "dialog-toggle findreplaceadv"
\bind "C-f" "dialog-show findreplace"
\bind "C-S-f" "dialog-show findreplaceadv"
# -: "Option-Command-F" # Move to the search field control
# +: "Command-G" # Find the next occurrence of the selection
\bind "C-g" "word-find-forward"

View File

@ -53,9 +53,9 @@ Format 5
# this is "quoted-insert" a total different meaning from "quote-insert"
\bind "C-q" "self-insert \""
#bind "C-r" "------"
\bind "C-s" "dialog-toggle findreplace"
\bind "C-S-s" "dialog-toggle findreplaceadv"
\bind "M-~S-percent" "dialog-toggle findreplaceadv"
\bind "C-s" "dialog-show findreplace"
\bind "C-S-s" "dialog-show findreplaceadv"
\bind "M-~S-percent" "dialog-show findreplaceadv"
# should be "chars-transpose" (swaps two chars)
#bind "C-t" "------"

View File

@ -1253,7 +1253,7 @@ Replace
\begin_inset Info
type "shortcut"
arg "dialog-toggle findreplace"
arg "dialog-show findreplace"
\end_inset
or
@ -8953,14 +8953,12 @@ Verbatim
\end_layout
\begin_layout Verbatim
This is Verbatim.
\end_layout
\begin_layout Verbatim
\noindent
\align block
The following 2 lines are empty:
\end_layout
@ -8973,7 +8971,6 @@ The following 2 lines are empty:
\end_layout
\begin_layout Verbatim
Almost everything is allowed in Verbatim:"%&$§#~'`
\backslash
}][{|
@ -8997,7 +8994,6 @@ Verbatim
\end_layout
\begin_layout Verbatim*
This is Verbatim*.
\end_layout