Source actions

  • contextual menu of current editor+Source+Escape Selection ... : Escapes a range of characters by replacing them with the corresponding character entities.

    Figure 4.39. Escape selection

    Escape selection

  • contextual menu of current editor+Source+Unescape Selection ... : Replaces the character entities with the corresponding characters;

    Figure 4.40. Unescape selection

    Unescape selection

  • contextual menu of current editor+Source+Indent selection (Ctrl + I):Corrects the indentation of the selected block of lines.

  • contextual menu of current editor+Source+Format and Indent Element (Ctrl + I): Pretty prints the element that surrounds the caret position;

  • contextual menu of current editor+Source+Import entities list : Shows a dialog that allows you to select a list of files as sources for external entities. The DOCTYPE section of your document will be updated with the chosen entities. For instance, if choosing the file chapter1.xml, and chapter2.xml, the following section is inserted in the DOCTYPE:

    <!ENTITY chapter1 SYSTEM "chapter1.xml">
    <!ENTITY chapter2 SYSTEM "chapter2.xml">
  • Double click on an element or processing instruction - If the double click is done before the start tag of an element or after the end tag of an element then all the element is selected by the double click action. If it is done after the start tag or before the end tag then only the element content without the start tag and end tag is selected.

  • contextual menu of current editorJoin and normalize: The action works on the selection. It joins the lines by replacing the line separator with a single space character. It also normalizes the whitespaces by replacing a sequence of such characters with a single space.