Contents
- Index
- Previous
- Next
File Viewer
Concordance has a built-in file viewer which can display text files of unlimited size. Each line, however, must be no longer than 1024 characters. (The Editor provides an alternative.)
A concordance-aware version of the file viewer opens automatically for viewing your source text when you click on any context line in the Context Views and when you have selected View text in Viewer from the View Menu. The viewer automatically displays the line in the source text which you click on in the Context View.
If you double-click (or press Control-Enter) on a word in the viewer when it is displaying your source text, the Wordlist View will re-position itself to display that word, provided it exists in the Wordlist. In this way you can browse through your source text in the editor and immediately see the concordance for any word of interest.
You can also start a stand-alone copy of the File Viewer from the Tools Menu.
The viewer window can be re-sized by dragging its bottom right-hand corner.
The File Viewer and File Editor use fixed-pitch (monospace) fonts such as Courier New.
See also:
Multiple Document Editor
Bookmarks
Bookmarks provide a means of moving quickly from place to place within a file. Assume that you are primarily interested in two sections of a text file that are widely separated, and want to be able to move between the two of them quickly. This can be accomplished by setting a bookmark at the beginning of each section, then jumping between them.
To set a bookmark using the default key assignments, press <ShiftCtrlN>, where N is a number in the range 0 to 9. The current position of the caret is marked as bookmark N. To return to that spot later, press <CtrlN>, where N is the number used to set the bookmark.
Tab Expansion
The File Viewer is designed to expand tab characters automatically to spaces when text is displayed on screen. This behaviour, which is enabled by default, is controlled by choosing Options | Tab Expansion. If it is active, tabs are expanded. If it is inactive, tabs are treated as ordinary characters (their appearance on the screen depends on the font).
The distance between tab stops depends on the current tab size, which you can change using Options | Tab Size. The default setting is 8. Changing the tab size redraws the File Viewer's window to reflect the change