Whether you are editing code, HTML, or plain text, the Code Editor is just line many other text editors or word processors. For code that is part of a project, the project's programming language support provides syntax highlighting colorization, indentation, and so on.

Adding text

The editor has two text input modes:

Insert and overstrike modes are common to all editors: if one editor is in insert mode, all editors are set to insert mode.. You can configure the cursor appearance in both insertion and overstrike modes using the Tools > Options dialog in the Text Editor > General pane.

Changing to insertion or overstrike mode

To toggle between insertion and overstrike mode, do the following:

Adding or inserting text

To add or insert text, do the following:

To overwrite characters in an existing line, press the Insert key to put the editor in Overstrike mode.

Deleting text

The text editor supports the following common editing keystrokes:

Key Description
Backspace Deletes one character to the left of the cursor
Delete Deletes one character to the right of the cursor
Ctrl+Backspace Deletes one word to the left of the cursor
Ctrl+Delete Deletes one word to the right of the cursor
Deleting characters

To delete characters or a words in a line, do the following:

—or—

Note You can double-click a word and then press Delete or Backspace to delete it.

Deleting lines or paragraphs

To delete text which spans more than a few characters, do the following: