Preferences

Preferences Palette

prefs
To view the Preferences Palette

• Type command+comma 
• Choose Preferences from the Revolution menu on the menubar 


View Prefs

top_prefs

When chosen, these preferences are applied to all objects that you are currently editing.

You can change the way scripts are displayed:

Colorize Scripts - colorize significant script tokens 



Columnar Comments - create column to accomodate comments on right 

Ruled Lines - show horizontal lines indicating line bottoms

You can alter the appearance of the handler list:

Show Handler Lists - hide/show the handler list 
Sort Handler List - alpha sort folders and their handlers or (unchecked) show them in the order they appear in the script

You can see extended tooltips with instructions:

Instructional Tool Tips - append existing informational tooltips

You can scan code more quickly with these preferences:

Handler Links - show internal handlers as links (external italicized links) 
Bold Links - make handler links stand out using bold style
Italicize Comments - comments are easier to spot and read when italic.
Bold Folder Names - when the comments that become the folder names for the handlers in the handler list are bold, they are much easier to spot as well.

Update Links on Switch Tab - refreshes links in script when you switch tabs.

Make your code even more readable:

Font - change the font being used 
Font Size - change the size of the font being used 
Indent - how many spaces to indent

Indent Case Statements - also indent the "case" part of switches 
Capitalize Control Structures - upper case parts of control structures

Just to keep everything in sync:

Update Links on Switch Tab - refreshes links in script when you switch tabs.


Clairvoyance

Clairvoyance

There is an entire lesson devoted to clairvoyance, its uses in GLX2 and these preferences.


Global Preferences

btm_prefs

Some preferences are not limited to the way a script or handlers are displayed. They are referred to as global and are more behavioral in nature than the view prefs.


GLX2 As Script Editor - turn off GXL2 to use another editor. 
Bread Crumbs - show names of visited and edited handlers as links on the crumb bar.
More - adds Bread Crumbs more often (anytime you type or select text within a handler). NOTE: this option is disabled when Bread Crumbs is unchecked.


Use Chalkboard Motif - use light-on-dark motif similar to a chalkboard.

Save Every n compiles - how often (and whether) to save. 
Archive Every n compiles - how often (and whether) to archive. 
Archive n copies - how many archives to save in the archive folder found at the same directory level as the object's stack file.

Always Use Explicit Variables - every compile requires all vars declared 

No-click Inspection - to turn off the no-click inspection feature uncheck this check box. After doing so, names of objects beneath the mouse pointer will no longer appear in the status field at the top of the editor. Neither will the ability to hold down cmd+opt (cntl+alt on Windows) to edit the script of an object.

Update Tabs after Name Changes - after changing the name of any object, the mainstack of a stack or the ID of an image, a message will get sent to GLX2 indicating the tab name or undlerlying data for the tab may need to be updated. If you are running scripts that repeatedly change the name, ID or mainstack property, you may want to make sure no tabs containing the changing objects are open OR you may want to uncheck this checkbox in the prefs palette.

External Status Bar - checking this option shows a status bar below the Revolution Dock.

status

GLX2 Developed by Daniels & Mara  •  GLX2 Prices & Ordering