Previous Topic

Next Topic

Book Contents

Book Index

Miscellaneous Scripting

You can use the following Javascript methods for miscellaneous interaction with the editor component's applet.

Javascript method

Description

boolean isEquationEmpty()

Returns true if the current equation is empty.

void highlightSyntax(boolean turnOn)

Turns on/off the syntax highlighting mode for the current equation. Calling this function has the same effect as clicking the "Check syntax" button on the default toolbar.

void setPromptString(String message)

Sets the status line cue for the browser until the status line message is replaced by the browser for any other reason.


Previous Topic

Next Topic

Book Contents

Book Index


[Design Science Home]
Copyright © 1996-2016 Design Science, Inc. All rights reserved.