The following actions can be applied on the text content of the XML editor:
Document > Source > Lock / Unlock the XML Tags - Disables / Enables editing of XML tags.
Document > Source > To Lower Case - Converts the selection content to lower case characters.
Document > Source > To Upper Case - Converts the selection content to upper case characters.
Document > Source > Capitalize lines - Converts to upper case the first character of every selected line.
Document > Source > Shift Right
(Tab) - Shifts the currently selected block to the right.
(Shift+Tab) > Document > Source > Shift Left
(Shift+Tab) - Shifts the selected block to the left.
Document > Source > Escape Selection ... - Escapes a range of characters by replacing them with the corresponding
character entities.
Document > Source > Unescape Selection ... - Replaces the character entities with the corresponding characters.
Document > Source > Indent selection (Ctrl
+ I) - Corrects the indentation of the selected block of lines if it does not
follow the current indenting preferences of the
user.
Document > Source > Format and Indent Element
(Ctrl + Shift + I) - Pretty prints the element that surrounds the caret position.
Document > Source > Insert XInclude - Shows a dialog that allows you to browse and select the content to be
included and generates automatically the corresponding XInclude instruction.
Document > Source > Import entities list - Shows a dialog that allows you to select a list of files as sources for
external DTD entities. The internal subset of the DOCTYPE declaration 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">
Document > Source > Capitalize lines - It capitalizes the first letter found on every new line that is selected.
Only the first letter is affected, the rest of the line remains the same. If the first
character on the new line is not a letter then no changes are made.
Document > Source > Join 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.
Document > Source > Insert new line after: This useful action has the same result with moving the caret to the end of
the current line and pressing ENTER.