The Highlighting group of the Editor’s settings specifies the highlighting format to be used to display different syntax elements in the Editor.
The list of syntax elements is shown on the left of the dialog. There are several settings for each syntax element. Some of the elements, for example, selected text, have fewer options than other elements. The entire set is as follows:
-
Colors - Specifies the foreground and background colors that are used to display syntax elements.
-
Text attributes - Font style (bold, italic, underlined and strikeout -- B, I, U and
S).
As you change the syntax elements’ settings, the Editor panel automatically applies these changes, so that you can preview them directly in the Editor.
You can either define the highlighting settings yourself, or load the settings that are used in Visual Studio or Delphi:
-
To import Visual Studio highlighting settings, press Import Visual Studio Highlighting. This feature supports Visual Studio version 7.x, 2005 and 2008. If you have several versions installed on your computer, the settings of the latest available version will be imported.
-
To import the highlighting settings of Embarcadero RAD Studio or CodeGear RAD Studio, press Import BDS Highlighting. This feature requires Embarcadero RAD Studio XE, Embarcadero RAD Studio 2010, CodeGear RAD Studio 2007 or 2009, or Borland Developer Studio 2006 to be installed on your computer.
-
To import Delphi highlighting settings, press Import Delphi Highlighting. This feature requires Borland Delphi 7 to be installed on your computer.
To restore the default highlighting settings, press Restore Default Highlighting.
AQTime supports various development tools that use different programming languages. These languages have different keywords, different syntax, rules for comments and so on. In the table that is displayed at the bottom of the page, you can specify which highlighting rules the Editor will use to display these types of files. The value shown in the Language column is the parser that AQTime will use to highlight source code in the Editor panel. The Extensions column specifies the files’ extensions that the parser will work with. For instance, the following row --
Language | Extension |
---|---|
C# | *.cs; *.scs |
-- means that the Editor will treat .cs and .scs files as C# files.
To modify a file type, click the desired Extensions cell and type the desired value. Specify the file types with the asterisk and the leading point. Use semicolons to separate multiple types.