Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
ccfba2e3
Commit
ccfba2e3
authored
Aug 06, 2022
by
Pablo Rauzy
Committed by
Christoph Cullmann
Aug 14, 2022
Browse files
reorder conditionnal branches in commands help to respect source code ordering
parent
989ecd45
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/keyboardmacros/keyboardmacrosplugin.cpp
View file @
ccfba2e3
...
...
@@ -674,13 +674,13 @@ bool KeyboardMacrosPluginCommands::help(KTextEditor::View *, const QString &cmd,
msg
=
i18n
(
"<qt><p>Usage: <code>kmload <name></code></p><p>Load saved keyboard macro <code><name></code> as current macro.</p>%1</qt>"
,
macros
);
return
true
;
}
else
if
(
cmd
==
QStringLiteral
(
"kmdelete"
))
{
msg
=
i18n
(
"<qt><p>Usage: <code>kmdelete <name></code></p><p>Delete saved keyboard macro <code><name></code>.</p>%1</qt>"
,
macros
);
return
true
;
}
else
if
(
cmd
==
QStringLiteral
(
"kmplay"
))
{
msg
=
i18n
(
"<qt><p>Usage: <code>kmplay <name></code></p><p>Play saved keyboard macro <code><name></code> without loading it.</p>%1</qt>"
,
macros
);
return
true
;
}
else
if
(
cmd
==
QStringLiteral
(
"kmdelete"
))
{
msg
=
i18n
(
"<qt><p>Usage: <code>kmdelete <name></code></p><p>Delete saved keyboard macro <code><name></code>.</p>%1</qt>"
,
macros
);
return
true
;
}
return
false
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment