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
Tobias Hunger
qt-creator
Commits
4d93981b
Commit
4d93981b
authored
Dec 08, 2009
by
con
Browse files
"Goto" --> "Go to" in visible strings.
parent
02e90fd7
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/editormanager/editormanager.cpp
View file @
4d93981b
...
...
@@ -355,7 +355,7 @@ EditorManager::EditorManager(ICore *core, QWidget *parent) :
mwindow
->
addAction
(
cmd
,
Constants
::
G_WINDOW_SPLIT
);
connect
(
m_d
->
m_removeAllSplitsAction
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
removeAllSplits
()));
m_d
->
m_gotoOtherSplitAction
=
new
QAction
(
tr
(
"Goto
Other
Split"
),
this
);
m_d
->
m_gotoOtherSplitAction
=
new
QAction
(
tr
(
"Go
to
Next
Split"
),
this
);
cmd
=
am
->
registerAction
(
m_d
->
m_gotoOtherSplitAction
,
Constants
::
GOTO_OTHER_SPLIT
,
editManagerContext
);
cmd
->
setDefaultKeySequence
(
QKeySequence
(
tr
(
"%1,o"
).
arg
(
prefix
)));
mwindow
->
addAction
(
cmd
,
Constants
::
G_WINDOW_SPLIT
);
...
...
src/plugins/texteditor/texteditoractionhandler.cpp
View file @
4d93981b
...
...
@@ -228,24 +228,24 @@ void TextEditorActionHandler::createActions()
connect
(
m_resetFontSizeAction
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
resetFontSize
()));
advancedMenu
->
addAction
(
command
,
Core
::
Constants
::
G_EDIT_FONT
);
m_gotoBlockStartAction
=
new
QAction
(
tr
(
"Goto Block Start"
),
this
);
m_gotoBlockStartAction
=
new
QAction
(
tr
(
"Go
to Block Start"
),
this
);
command
=
am
->
registerAction
(
m_gotoBlockStartAction
,
Constants
::
GOTO_BLOCK_START
,
m_contextId
);
command
->
setDefaultKeySequence
(
QKeySequence
(
tr
(
"Ctrl+["
)));
connect
(
m_gotoBlockStartAction
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
gotoBlockStart
()));
advancedMenu
->
addAction
(
command
,
Core
::
Constants
::
G_EDIT_BLOCKS
);
m_gotoBlockEndAction
=
new
QAction
(
tr
(
"Goto Block End"
),
this
);
m_gotoBlockEndAction
=
new
QAction
(
tr
(
"Go
to Block End"
),
this
);
command
=
am
->
registerAction
(
m_gotoBlockEndAction
,
Constants
::
GOTO_BLOCK_END
,
m_contextId
);
command
->
setDefaultKeySequence
(
QKeySequence
(
tr
(
"Ctrl+]"
)));
connect
(
m_gotoBlockEndAction
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
gotoBlockEnd
()));
advancedMenu
->
addAction
(
command
,
Core
::
Constants
::
G_EDIT_BLOCKS
);
m_gotoBlockStartWithSelectionAction
=
new
QAction
(
tr
(
"Goto Block Start With Selection"
),
this
);
m_gotoBlockStartWithSelectionAction
=
new
QAction
(
tr
(
"Go
to Block Start With Selection"
),
this
);
command
=
am
->
registerAction
(
m_gotoBlockStartWithSelectionAction
,
Constants
::
GOTO_BLOCK_START_WITH_SELECTION
,
m_contextId
);
command
->
setDefaultKeySequence
(
QKeySequence
(
tr
(
"Ctrl+{"
)));
connect
(
m_gotoBlockStartWithSelectionAction
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
gotoBlockStartWithSelection
()));
m_gotoBlockEndWithSelectionAction
=
new
QAction
(
tr
(
"Goto Block End With Selection"
),
this
);
m_gotoBlockEndWithSelectionAction
=
new
QAction
(
tr
(
"Go
to Block End With Selection"
),
this
);
command
=
am
->
registerAction
(
m_gotoBlockEndWithSelectionAction
,
Constants
::
GOTO_BLOCK_END_WITH_SELECTION
,
m_contextId
);
command
->
setDefaultKeySequence
(
QKeySequence
(
tr
(
"Ctrl+}"
)));
connect
(
m_gotoBlockEndWithSelectionAction
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
gotoBlockEndWithSelection
()));
...
...
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