Editor

The Editor preferences panel is opened from menu OptionsPreferences+Editor

Use these options to configure the visual aspect of the text editor.

 

Figure 24.8. The Editor preferences panel

The Editor preferences panel

Selection background color

Use this option to set the background color of selected text.

Selection foreground color

Use this option to set the text color of selected text.

Completion proposal background

Use this option to set the background color for the content completion window.

Completion proposal foreground

Use this option to set the foreground color for the content completion window.

Documentation window background

Use this option to set the background color for the window containing documentation for the content completion elements.

Documentation window foreground

Use this option to set the foreground color for the window containing documentation for the content completion elements.

 Can edit read only files

Read-only files are marked in <oXygen/> using a lock icon on the file tab. If this option is checked, you will be able to make modifications in the editor when a read-only file is opened in <oXygen/>. If unchecked, any modification to the content in the editor will be prohibited in any editor page. In this case, saving to the file will not be possible and you will be presented with a file chooser to choose a new location where to save the edited content.

Undo history size

Use this option to control the maximum amount of undo edits which will be remembered by the editor in each of the pages.

 Pages

The Pages preferences panel is opened from menu OptionsPreferencesEditorPages and allows you to select the initial page for an editor. The mode in which a file was edited in the previous session is saved and will be used when the application is restarted and the file reopened.

 

Figure 24.9. The <oXygen/> Pages preferences panel

The <oXygen/> Pages preferences panel