Settings Dialog: General Tab

The General Tab allows the user to configure options such as:

 

The following figure displays the General tab:

 

       

 

Accessibility:  From the Settings Dialog

 

Description of Components

 

Component

Description

Global

Extend selections when searching

When this option is selected the active selection is extended when performing a search.

Sticky selections

Keeps the selection open allowing the user to extend the search without having to hold down the <shift> key. For more information on this feature please refer to the Sticky Selections topic.

Home key goes to the start of the first word on a line

The home key navigates to the beginning of the first word on the current line instead of the beginning of the line. Any whitespace characters at the beginning of the line will be skipped, bringing the cursor to the beginning of the first word.

Reload externally changes files without prompt

When the document is reloaded (after external modification) do not prompt the user with a notification message. Instead, load the file automatically in the editor.

After reload make file active

If a file is reloaded in the editor (after external modification) this setting forces it to be active after the reload.

Save bookmarks on exit

Saves any bookmark settings in order to save them across multiple editing sessions.

Search

Place caret at start after search

Places the caret at the beginning of the search string instead of at the end when performing a search operation.

Keep search selections

Keeps the selection highlighted after a search has been performed instead of bringing the cursor to the begin or end of the found text. For more information on this feature please refer to the Keep Search Selections topic.

Use current word as search

Automatically sets the currently selected word as the search string when performing a search operation.

Default search options

Regular expressions

Enable regular expression searching by default when searching in the current file. This is not supported in the Find in Files operation. For more information on searching with Regular Expressions please refer to the Searching with Regular Expressions topic.

Whole word

Match only against whole words instead of partial matches.

Ignore case

Ignore case when performing a search.

Replace Mode

Prompted

When performing a replace operation, always prompt the user to verify the replace operation.

Once

Replace only the first occurrence of the search text encountered.

All

Automatically replace all occurrences of the search text with the replacement value.

Find in files

Use history

If Use history is checked then the Find in files dialog will remember the previous search options such as the search directory, filter, etc. instead of using the default values.

Use thread

The Use thread option allows the find in files operation to proceed in the background instead of blocking the UI while the search is being performed.

Skip binary files

The Skip binary files option allows the find in files to skip any binary files while performing a search.

Search sub-directories

Enable searching within sub-directories when performing a Find in Files operation.

Add to history

On find in files

If checked then any files that were opened from the Find in files results panel will be added to the history list for the forward and back buttons. In this manner the back button will jump to the file that was previously opened. For more information refer to the History List topic.

On load file

If checked then any file that was loaded will be added to the history list for the forward and back buttons. In this manner the back button will jump to the file that was loaded.  For more information refer to the History List topic.

On open matching file

If checked then any matching file that was loaded will be added to the history list for the forward and back buttons. In this manner the back button will jump to the matching file that was opened. For more information refer to the History List topic. For more information on matching files refer to the Matching Files topic.

On goto line

If checked then any goto line actions will be added to the history list such that they can be repeated or un-done with the forward/backward buttons.

On goto column

If checked then any goto column actions will be added to the history list such that they can be repeated or un-done with the forward/backward buttons. For more information refer to the History List topic.

On close file

If checked then any files that are closed will be added to the history list. Clicking on the back button will then re-open the file. For more information refer to the History List topic.

File Backups

Change extension to .bak

Replace the file extension with .bak when Code Roar automatically creates a backup file instead of just appending .bak to the existing file name. For example, if the file name is called main.cpp the backup will be called main.bak if this option is selected and main.cpp.bak if this option is not selected.

Save backup files

Save backup file to path

The path where .bak files will be saved during the save operation. If this path is not set then .bak files will be created in the current directory.

Auto save

Save on loss of focus

 

Enables the ability to automatically save any unsaved changes when Code Roar loses focus to another application.

Save every n minutes

Controls the number of minutes between save operations where n is the number of minutes.

Control

Ok Button

The Ok button is used to save the current settings, close the dialog, and return to the application.

Cancel Button

The Cancel button closes the dialog and returns the user to the application without saving preferences.