Chapter 7. Defining a Syntax Scheme

This chapter describes how to write a source-code syntax scheme that the GoLive JavaScript source editor can use to check and mark the syntax of source code you are editing in that control. This editor is used in every JavaScript source editor: the Source document pane, the split pane view, the JavaScript Debugger Source view, and in source-type control Object Types (page 78).

GoLive provides predefined syntax marking schemes for various standard syntaxes:

html
javascript
php
css

In addition, the SDK provides some dynamic syntax schemes in the file Default.syntax in the Settings/Code folder. You can extend the definitions in this file, or create an entirely new syntax scheme, saving it in a file with the .syntax ...

Get Adobe GoLive CS2 Official JavaScript Reference now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.