forked from qt-creator/qt-creator
Doc: Describe shortcuts for moving within and between blocks
- Describe the "Enable smart selection changing" option and the keyboard shortcuts used. - Update screen shot. Change-Id: I6ea08db91d1143c756573e6de8d5a50db994091f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
@@ -142,6 +142,17 @@
|
|||||||
\uicontrol Tools > \uicontrol Options > \uicontrol {Text Editor} >
|
\uicontrol Tools > \uicontrol Options > \uicontrol {Text Editor} >
|
||||||
\uicontrol Display and deselect \uicontrol {Animate matching parentheses}.
|
\uicontrol Display and deselect \uicontrol {Animate matching parentheses}.
|
||||||
|
|
||||||
|
You can use keyboard shortcuts to move within and between blocks. To go to
|
||||||
|
block end, press \key {Ctrl+]} and to go to block start, press
|
||||||
|
\key {Ctrl+[}. To also select the lines from the cursor position to the end
|
||||||
|
or beginning of the block, press \key {Ctrl+Shift+]} and
|
||||||
|
\key {Ctrl+Shift+[}, respectively.
|
||||||
|
|
||||||
|
To select the current block, press \key Ctrl+U. A second key press extends
|
||||||
|
the selection to the parent block. To undo the last selection, press
|
||||||
|
\key {Ctrl+Alt+Shift+U}. To enable smart block selection, select
|
||||||
|
\uicontrol Tools > \uicontrol Options > \uicontrol {Text Editor} >
|
||||||
|
\uicontrol Behavior > \uicontrol {Enable smart selection changing}.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@@ -337,11 +337,25 @@
|
|||||||
\li Go to block start
|
\li Go to block start
|
||||||
\li Ctrl+[
|
\li Ctrl+[
|
||||||
\row
|
\row
|
||||||
\li Go to block end with selection
|
\li Go to block end and select the lines between the current cursor
|
||||||
\li Ctrl+}
|
position and the end of the block
|
||||||
|
\li Ctrl+Shift+]
|
||||||
\row
|
\row
|
||||||
\li Go to block start with selection
|
\li Go to block start and select the lines between the current
|
||||||
\li Ctrl+{
|
cursor position and the beginning of the block
|
||||||
|
\li Ctrl+Shift+[
|
||||||
|
\row
|
||||||
|
\li Select the current block
|
||||||
|
|
||||||
|
The second press extends the selection to the parent block. To
|
||||||
|
enable this behavior, select \uicontrol Tools >
|
||||||
|
\uicontrol Options > \uicontrol {Text Editor} >
|
||||||
|
\uicontrol Behavior >
|
||||||
|
\uicontrol {Enable smart selection changing}.
|
||||||
|
\li Ctrl+U
|
||||||
|
\row
|
||||||
|
\li Undo the latest smart block selection
|
||||||
|
\li Ctrl+Alt+Shift+U
|
||||||
\row
|
\row
|
||||||
\li Move current line down
|
\li Move current line down
|
||||||
\li Ctrl+Shift+Down
|
\li Ctrl+Shift+Down
|
||||||
@@ -354,11 +368,6 @@
|
|||||||
\row
|
\row
|
||||||
\li Rewrap paragraph
|
\li Rewrap paragraph
|
||||||
\li Ctrl+E, R
|
\li Ctrl+E, R
|
||||||
\row
|
|
||||||
\li Select the current block
|
|
||||||
|
|
||||||
The second press extends the selection to the parent block
|
|
||||||
\li Ctrl+U
|
|
||||||
\row
|
\row
|
||||||
\li Enable text wrapping
|
\li Enable text wrapping
|
||||||
\li Ctrl+E, Ctrl+W
|
\li Ctrl+E, Ctrl+W
|
||||||
|
@@ -74,6 +74,8 @@
|
|||||||
|
|
||||||
\li \l{Configuring Fonts}
|
\li \l{Configuring Fonts}
|
||||||
|
|
||||||
|
\li \l{Highlighting and Folding Blocks}
|
||||||
|
|
||||||
\li \l{Viewing Function Tooltips}
|
\li \l{Viewing Function Tooltips}
|
||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
Reference in New Issue
Block a user