Menu

File viewer

File viewer

The file viewer is located at the top right side of the main window. Here all opened files are displayed as tabs.

Closing files

In order to close a file, click on the right cross on the corresponding tab header.

File actions

Additional file actions can be executed by right clicking a file tab header. A context menu will appear containing all actions, which can be performed on the corresponding file.

[Built-in File Actions]

Text view

The main area of the file viewer displays the contents of the file as text including line numbers. If the file viewer has been opened from the [Search results] list, all matches are highlighted in the text viewer. If a syntax highlighter has been defined for the displayed file type, the text view will highlight certain keywords in the text.

Scrolling

You can scroll either by using the scrollbars or by using the mouse wheel. Furthermore scrolling can be performed by using the keyboard:

Key Description
Up Scroll line-wise upwards
Down Scroll line-wise downwards
Left Scroll column-wise to the left
Right Scroll column-wise to the right
Ctrl+Left Scroll page-wise to the left
Ctrl+Right Scroll page-wise to the right
Page up Scroll page-wise upwards
Page down Scroll page-wise downwards
Ctrl+Home Scroll to the beginning of the document
Ctrl+End Scroll to the end of the document

Text selection functionality

You can select text via the mouse within the text view area. Double clicking a word will automatically select the whole word. Pressing Ctrl+A will select all text. Additionally you can select whole lines by left-clicking and moving the mouse on the line numbers column while holding the left mouse button.

Right clicking on the selected text, will open a context menu.

Currently the following operations can be performed on selected text:

Action Description
Copy This will copy the selected text to the clipboard.
Find This will issue a search query with the selected text used as a search phrase.
Find in new tab This will issue a search query with the selected text used as a search phrase. The search will be executed in a new tab.
Find in file This will issue a search query with the selected text used a search phrase. The search will be performed in the current file only, i.e. the search phrase is added to the in-file multi search list ( see below ).

Selected text can also be copied to the clipboard by pressing Ctrl+C.

Match navigation

You can navigate between matches using the keyboard:

Key Description
Ctrl+Up Navigate to previous match
Ctrl+Down Navigate to next match

When the file viewer has it's focus navigation jumps between matches returned by global search.
When one of the in-file search panes is active, navigation jumps between the matches returned by the active in-file search.

Navigating to tag urls

The CodeXCavator supports code tagging. Code tags are specially marked keywords, which can be located inside source code comments.

In order to navigate to the urls associated with a tag right-click the desired tag in the text viewer. A pop menu will be shown, containing all urls associated with the tag. Click on the url, you want navigate to. The system browser will be opened to display the contents the url points to. If the url is a CodeXCavator search url, the current full text search phrase will be set to the one defined by the search url.

Match position indicator

Right to the text viewer scrollbar match positions are graphically displayed as horizontal lines on a vertical strip. You can jump to the matches by left-clicking on one of the match marker lines.

Match list

On the right side of the file browser all matches contained in the file are listed including their location in the file ( line no. and column no. ). In order to navigate to the match in the opened file, click on the corresponding entry in the match list. The selected match, will then be selected in the text view.
In addition to this you can use the navigation buttons above the match list in order to jump between matches.

By clicking the search button in the lower right corner of the text viewer, the in-file multi search pane can be activated. This can also be done using the keyboard shortcut Ctrl+F. The search pane allows to search for text inside the displayed document directly.

By clicking on the "Add" button you can add additional search panes and thus search for different content simultanously.
The search term can be entered in the corresponding text box. By default the search is performed immediately. This functionality can be toggled using the "Immediate search" button.
If disabled, the "Search" button can be used to trigger the search. Alternatively the search can be triggered by hitting the enter or return key after entering the search term in the search text box.

All found occurrences are highlighted in the text viewer by using the color associated with the corresponding search pane and additionally displayed in the match list. You can navigate between the matches returned by the in-file search, either by using the navigational buttons on the corresponding in-file search pane, or by using the keyboard shortcuts Ctrl+Up ( previous match ) or Ctrl+Down ( next match ), while one of the in-file search panes has the keyboard focus.

The highlight color can simply be changed by clicking on the coloured rectangle left to the search term text box. A color picker will popup and the desired color can be chosen.

By clicking on the "Remove/Close" button a search pane can be removed.

The search pane allows to switch between different search modes whose behaviour can additionally be modified. For further information about the provided search modes see section: [Built-in Text Searchers].

[Home][CodeXCavator Finder][Built-in File Actions][Built-in Text Searchers]


Related

Wiki: Built-in File Actions
Wiki: Built-in Text Searchers
Wiki: CodeXCavator Finder
Wiki: Home
Wiki: Search results
Wiki: Search

MongoDB Logo MongoDB