Backport paragraph settings shortcuts

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29282 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-04-17 09:05:50 +00:00
parent 7a2e28c3bf
commit de49762939
4 changed files with 87 additions and 15 deletions

View File

@ -53,8 +53,8 @@ These chars should be somehow used in your translations, however you'll have to
invent your own working shortcuts for dialog and menu entries and resolve
possible conflicts of the same shortcut chars in one menu...
Note also that there are already used global shortcuts (such as p k x c m) and
you should avoid to use these characters for first-level menu shortcuts.
Note also that there are already used global shortcuts (such as p k x c m s a)
and you should avoid to use these characters for first-level menu shortcuts.
'$' and '%' are usually used as handlers for formatting or variables to be
inserted into the strings. Character sequences like %1$s or %1$d MUST also

View File

@ -56,15 +56,20 @@
#
# Alignment menu
# Paragraph menu
#
#bind "M-a l" "para-align left" # Not yet implemented!
#bind "M-a r" "para-align right" # Not yet implemented!
#bind "M-a c" "para-align center" # Not yet implemented!
#bind "M-a b" "para-align block" # Not yet implemented!
#bind "M-a f" "para-align block" # Not yet implemented!
#bind "M-a d" "para-align default" # Not yet implemented!
\bind "M-a l" "paragraph-params \align left"
\bind "M-a r" "paragraph-params \align right"
\bind "M-a c" "paragraph-params \align center"
# It's called Justified in the UI
\bind "M-a j" "paragraph-params \align block"
\bind "M-a e" "paragraph-params \align default"
\bind "M-a i" "paragraph-params \indent-toggle"
\bind "M-a s" "paragraph-params \paragraph_spacing single"
\bind "M-a o" "paragraph-params \paragraph_spacing onehalf"
\bind "M-a d" "paragraph-params \paragraph_spacing double"
\bind "M-a f" "paragraph-params \paragraph_spacing default"
#

View File

@ -102,9 +102,9 @@
\papercolumns 1
\papersides 2
\paperpagestyle default
\tracking_changes false
\tracking_changes true
\output_changes false
\author ""
\author "ab"
\author ""
\end_header
@ -3747,7 +3747,17 @@ Indent
Paragraph
\family default
option to change the state of the current paragraph.
option to change the state of the current paragraph
\change_inserted 0 1239957270
(shortcut
\begin_inset Info
type "shortcut"
arg "paragraph-params \\indent-toggle"
\end_inset
)
\change_unchanged
.
If paragraphs have no indentation but use extra space for separation, this
button will be ignored (you can't indent a single paragraph by toggling
this).
@ -3797,9 +3807,37 @@ Text
\begin_inset space ~
\end_inset
Layout.
\family default
Layout
\change_inserted 0 1239957292
\family default
(shortcuts are
\begin_inset Info
type "shortcut"
arg "paragraph-params \\paragraph_spacing single"
\end_inset
,
\begin_inset Info
type "shortcut"
arg "paragraph-params \\paragraph_spacing onehalf"
\end_inset
,
\begin_inset Info
type "shortcut"
arg "paragraph-params \\paragraph_spacing double"
\end_inset
,
\begin_inset Info
type "shortcut"
arg "paragraph-params \\paragraph_spacing default"
\end_inset
for single, onehalf, double, default settings)
\change_unchanged
.
\begin_inset Foot
status collapsed
@ -10101,7 +10139,35 @@ Edit\SpecialChar \menuseparator
Paragraph Settings
\family default
dialog.
There are four possibilities:
There are four possibilities
\change_inserted 0 1239958063
(shortcuts are
\begin_inset Info
type "shortcut"
arg "paragraph-params \\align block"
\end_inset
,
\begin_inset Info
type "shortcut"
arg "paragraph-params \\align left"
\end_inset
,
\begin_inset Info
type "shortcut"
arg "paragraph-params \\align right"
\end_inset
,
\begin_inset Info
type "shortcut"
arg "paragraph-params \\align default"
\end_inset
)
\change_unchanged
:
\end_layout
\begin_layout Itemize

View File

@ -96,6 +96,7 @@ What's new
- Add visual and tooltip indication of activation status for branches.
- Added keyboard shortcuts for paragraph settings (Alt+A ...).
* WINDOWS INSTALLER