MACROMEDIA COLDFUSION STUDIO 4.5-USING COLDFUSION STUDIO Use Manual page 211

For windows 95/98/nt4/2000
Table of Contents

Advertisement

219
Methods
BeginUpdate
procedure BeginUpdate()
Turns off screen updating for the active document. This is useful if your script needs to
make several changes to the active document at once — turning off screen updating
during the procedure might significantly speed up the process. To turn updating back
on, use
.
EndUpdate
Use
with caution. If you fail to call
after a call to
BeginUpdate...EndUpdate
EndUpdate
, or if the script crashes before
is called, the user will be unable
BeginUpdate
EndUpdate
to see any changes made in the editor.
Clear
procedure Clear()
Clears all text from the active document.
Close
function Close(wbPromptToSave: WordBool): WordBool
Closes the active document. If
is True, the user is prompted to save
wbPromptToSave
any changes. Returns True if the document was closed (that is, the user didn't cancel
saving changes).
EndUpdate
procedure EndUpdate()
Turns on screen updating for the active document.
GetCaretPos
procedure GetCaretPos(var x, y: integer)
Returns the caret pos (x=column, y=line).
GetCurrentChar
function getCurrentChar(): OleVariant
Returns the current character.
GetNextChar
function GetNextChar(): OleVariant
Returns the next character. Note that this function (along with
) can
GetPreviousChar
be slow when used in long loops.
GetPreviousChar
function GetPreviousChar(): OleVariant
Returns the previous character.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion studio 4.5

Table of Contents