Text View
The Text View menu contains commands that apply to the Text View display of documents in File Comparison windows. They enable you to customize the display of documents. For details, see the subsections below.
Word Wrap
The Word Wrap command enables or disables word wrapping in Text View.
Pretty-Print XML Text
The Pretty-Print XML Text command reformats the active XML document in Text View to give a structured display of the document. Each child node is offset from its parent by four space characters.
Note: | The Pretty-Print XML Text command is not a toggle command. Once the command is executed, the pretty-printed format cannot be undone by clicking the Pretty-Print XML Text command again. To undo the pretty-printed format, you must use the Undo (Ctrl+Z or Alt+Backspace) command. |
Bookmarks
The Insert/Remove Bookmark command is available in Text View only. It inserts a bookmark at the current cursor position, or removes the bookmark if the cursor is in a line that has been bookmarked previously.
Bookmarked lines are displayed in one of two ways: If the bookmarks margin has been enabled, then a solid cyan-colored ellipse appears to the left of the text in the bookmark margin. If the bookmarks margin has not been enabled, then the complete line containing the cursor is highlighted in cyan.
The Go to Next Bookmark command is available in Text View only. It places the text cursor at the beginning of the next bookmarked line.
The Go to Previous Bookmark command is available in Text View only. It places the text cursor at the beginning of the previous bookmarked line.
The Remove All Bookmarks command is available in Text View only. It removes all currently defined bookmarks in the active document. Note that the Undo command does not undo the effects of this command.
Tip: | You can assign a keyboard shortcut to these commands in the Keyboard tab of the Customize dialog box. |
Toggle All Folds
The Toggle All Folds command toggles the active document between two states: (i) all nodes expanded, and (ii) all nodes collapsed.
Text View Settings
The Text View Settings command opens the Text View Settings dialog box where you can define settings for the display of line number, bookmark, and source folding margins, specify the tab size, and define which visual aids are available in Text View.