Changing and Selecting Text

Whether you are editing code, HTML, or plain text, the Code Editor works the same and functions like other text editors or word processors. For code that is part of a project, the project's programming language support provides automatic statement completion, syntax checking, keyword colorization, and other services.

To add or insert text

  1. Either click somewhere in the document or move the cursor to the desired location.
  2. Enter the text.

    If your cursor is between existing characters, the text is inserted between them.

    To overwrite characters in an existing line, press the INSERT key to put the editor in Overstrike mode. You can tell that it is in that mode when the cursor turns from a flashing line into a flashing block, and by the OVR displayed in the bottom right corner of the integrated development environment. Press the INSERT key again to return to Insertion (INS) mode.

To delete characters or a word in a line

  1. Place the cursor immediately before the word or letter you want to delete.
  2. Press the DELETE key as many times as needed to delete the characters or words.

    CTRL+DELETE and CTRL+BACKSPACE delete whole words. CTRL+I deletes the current line.

    —or—

    Place your cursor at the end of the letter or word and press the BACKSPACE key.

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

To delete lines, paragraphs, and pages

  1. Highlight the text you want to delete by holding down the left mouse button and dragging over the text, or by using the SHIFT key with the either the Arrow or the HOME/END/PAGEUP/PAGEDOWN keys.
  2. In some languages, double-clicking in the Selection Margin selects the current definition or paragraph (HTML).
  3. Press DELETE or BACKSPACE.

You can also cut, copy, and drag and drop text in your document.

You can format your code or let the environment do it for you.

Selecting Text

The Code Editor has two text selection modes:

To stream select text

To column select text