# Font Settings

This page of the options about fonts and colors used in the user interface.

Syntax components

This list contains different parts of the SQL syntax. You can change the color used for the element by selecting the item in this list and then pressing the Pick button to select a color. The current color of the currently selected item in the list is displayed just to the left of the Pick button.

The available elements are as follows.

Background | The normal background color for text.
Comment | An SQL comment. Currently this only includes -- comments, not rem comments.
Current background | This is the background to use for the current line of execution in the PL/SQL debugger.
Error background | This is the background to use for lines that have SQL errors in the in the PL/SQL debugger/editor.
Keyword | This is the color to use for the text of an SQL keyword.
Normal | Normal text color.
String | Color to use for text in strings.
Unfinished string | Color to use for strings that miss their terminating ' or ".

At the bottom of this dialog is a text field that displays en example of the current setting.

Syntax highlighting | Use this to control whether you want syntax highlighting or not. Observe that without syntax highlighting you will not see the indications for errors and current lines in the PL/SQL editor.
Keyword upper | Check this box to convert all keywords to uppercase before displaying them. The text itself is not changed so resetting this not changed and the text sent to the database still contain lowercase letters. This setting is disabled if you do not have a monospaced font selected.
Code completion | Check this box to enable code completion in SQL editors.
Sort completion rows | If checked the completion alternatives are sorted in alphabetical order, otherwise they are in the same order as in the source.
Indent same as previous row | When inserting a new row indent it to the same level as the previous row.
Text font | This is the font to use for all editors in TOra that are not syntax highlighted. Choose the Choose button immediately to the right of the label to select a new font.
Code font | This is the font to use for all syntax highlighted SQL editors in TOra. Choose the Choose button immediately to the right of the label to select a new font.
List font | This is the font to use for all lists in TOra. Choose the Choose button immediately to the right of the label to select a new font.