Commit 7364cda1 authored by hjk's avatar hjk
Browse files

Merge branch '0.9.2-rc1' of into 0.9.2-rc1

parents 7693d448 4acbcc76
......@@ -215,8 +215,20 @@
\title The Code Editor
### SCREENSHOT of the editor in action
Qt Creator's code editor is designed to aid the developer to create, edit,
and navigate code. It is fully equipped with syntax highlighting, code
completion, context sensitive help, as well as inline error indicators
while you are typing. The screenshots below show the various dialogs within
which you can configure your editor.
\i \inlineimage qtcreator-texteditor-general.png
\i \inlineimage qtcreator-texteditor-fonts.png
\i \inlineimage qtcreator-texteditor-completion.png
The table below lists keyboard shortcuts supported by the code editor.
......@@ -239,10 +251,19 @@
\i Indenting Blocks
\i Use \key{Ctrl+I}
\i Collapse
\i Use \key{Ctrl+\<}
\i Commenting or uncommenting blocks
\i Use \key{Ctrl+\/}
\i Delete a line
\i Use \key{Shift+Del}
\i Switch between header file and source file
\i Use \key{F4}.
......@@ -256,19 +277,12 @@
\i Use \key{F2} and \key{Shift+F2}. This feature works with
namespaces, classes, methods, variables, include statements,
and macros.
Up/Down/Page Up/Page Down - hold ctrl to prevent the cursor from moving
To switch to an external editor, select \gui{Open in external editor} from
the \gui{Edit -> Advanced} menu.
\i Switch to an external editor
\i Select \gui{Open in external editor} from the
\gui{Edit -> Advanced} menu.
......@@ -462,6 +462,7 @@ bool EditorManager::unregisterEditor(IEditor *editor)
return false;
void EditorManager::updateCurrentEditorAndGroup(IContext *context)
if (debugEditorManager)
......@@ -470,7 +471,8 @@ void EditorManager::updateCurrentEditorAndGroup(IContext *context)
IEditor *editor = context ? qobject_cast<IEditor*>(context) : 0;
if (groupContext) {
if (groupContext->editorGroup()->editorCount() == 0)
} else if (editor) {
......@@ -2,7 +2,7 @@ QT = core
macx:CONFIG -= app_bundle
TARGET = cplusplus0
# Input
SOURCES += main.cpp
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment