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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.