Editing Files

Internal Editor

Compare It!'s internal editor has most standard editing functions, so you will find it very easy to understand. To understand how Compare It! shows source and target file content in the panes, please review the Virtual Lines topic.

Syntax Coloring

To simplify working with source code files, Compare It! supports syntax highlighting. Currently only C++, C#, Java, Delphi and HTML languages are supported internally. To extend this list, you can use custom syntax files. To disable syntax highlighting, choose Options > Enable Syntax, or press F11.

Word Wrapping

You can switch word wrapping mode by choosing View > Wordwrap, or by pressing CTRL + W.

View Whitespaces

In order to see changes in whitespaces, such as blanks and tabs, you can enable display of these characters. Choose View > View whitespaces to switch to this mode.

Bookmark icon Bookmarks

You can use bookmarks to store the current cursor position to return to that position later on. Bookmarks are shown in the user interface as blue rectangles, shown above.

To set a bookmark:

  1. Position your cursor in the line where you want to add the bookmark.
  2. Press CTRL + F2.

To remove a bookmark:

  1. Position your cursor in the bookmarked line.
  2. Press CTRL + F2.

To jump to the next bookmark:

Search

Use CTRL + F3 to search for the word at the current cursor position, F3 to search for the next occurrence and SHIFT + F3 to find the previous occurrence. You can also press CTRL + F to change search options, such as specifying of word limits and case-sensitivity during search.

Replace

Compare It! also supports a replace function. Use CTRL + R to open the Replace dialog.

Regular expressions

You can use regular expressions in both Search and Replace functions.

Clipboard

The editor fully supports all clipboard operations, so you can use the standard key combinations to copy, paste, and cut text fragments.


© 1996-2010, Grig Software, All Rights Reserved