[64b67d]: source / editor.rst Maximize Restore History

Download this file

editor.rst    180 lines (160 with data), 5.4 kB

Editor

TeXnicCenter comes with an advanced editor that supports the following features:

  • syntax highlighting
  • fixed-width fonts
  • proportional fonts
  • font antialiasing
  • rectangular selections
  • multiple selections
  • code folding
  • bookmarks

Editor keyboard shortcuts

The following table lists the editor commands that are accessible via the keyboard. Some of these shortcuts can be :ref:`customized <customization-shortcuts>`, others are built-in. User-defined shortcuts take precedence over built-in shortcuts.

Editor keyboard shortcuts
Command Keyboard shortcut
Magnify text size :kbd:`Ctrl+Keypad+`
Reduce text size :kbd:`Ctrl+Keypad-`
Restore text size to normal :kbd:`Ctrl+Keypad/`
Cycle through recent files :kbd:`Ctrl+Tab`
Cycle through recent files in reverse order :kbd:`Ctrl+Shift+Tab`
Indent block :kbd:`Tab`
Dedent block :kbd:`Shift+Tab`
Delete to start of word :kbd:`Ctrl+Backspace`
Delete to end of word :kbd:`Ctrl+Delete`
Delete to start of line :kbd:`Ctrl+Shift+Backspace`
Delete to end of line :kbd:`Ctrl+Shift+Delete`
Go to start of document :kbd:`Ctrl+Home`
Extend selection to start of document :kbd:`Ctrl+Shift+Home`
Go to start of display line :kbd:`Home` (pressed once) or :kbd:`Alt+Home`
Go to start of line :kbd:`Home` (pressed twice)
Go to end of document :kbd:`Ctrl+End`
Extend selection to end of document :kbd:`Ctrl+Shift+End`
Go to end of display line :kbd:`End` (pressed once) or :kbd:`Alt+End`
Go to end of line :kbd:`End` (pressed twice)
Create or delete a bookmark :kbd:`Ctrl+F2`
Go to next bookmark :kbd:`F2`
Find selection :kbd:`Ctrl+F3`
Find selection backwards :kbd:`Ctrl+Shift+F3`
Scroll up :kbd:`Ctrl+Up`
Scroll down :kbd:`Ctrl+Down`
Line cut :kbd:`Ctrl+L`
Line copy :kbd:`Ctrl+Shift+T`
Line delete :kbd:`Ctrl+Shift+L`
Line transpose with previous :kbd:`Ctrl+T`
Selection duplicate :kbd:`Ctrl+D`
Previous paragraph. Shift extends selection :kbd:`Ctrl+[`
Next paragraph. Shift extends selection :kbd:`Ctrl+]`
Select paragraph. Press several times to extended selection :kbd:`Ctrl+P`
Select brace block. Press several times to extended selection :kbd:`Ctrl+M`
Previous word. Shift extends selection :kbd:`Ctrl+Left`
Next word. Shift extends selection :kbd:`Ctrl+Right`
Rectangular block selection :kbd:`Alt+Shift+Movement`
Extend rectangular selection to start of line :kbd:`Alt+Shift+Home`
Extend rectangular selection to end of line :kbd:`Alt+Shift+End`
Abort selection (select nothing) :kbd:`Esc`

Editor mouse shortcuts

The following table lists the editor commands that are accessible via the mouse.

Editor mouse shortcuts
Command Mouse shortcut
Magnify text size :kbd:`Ctrl+MouseWheelUp`
Reduce text size :kbd:`Ctrl+MouseWheelDown`
Create or delete a bookmark Click on the left-most margin.
Expand or contract a fold point Click on the fold margin.
Scroll up :kbd:`MouseWheelUp`
Scroll down :kbd:`MouseWheelDown`
Extend regular selection :kbd:`Shift+LeftClick`
Rectangular block selection :kbd:`Alt+LeftMouseButton`
Multiple selections :kbd:`Ctrl+LeftMouseButton`
Abort selection (select nothing) :kbd:`LeftClick`
Move text Drag&Drop selected text
Copy text Drag&Drop selected text while holding :kbd:`Ctrl`