#cp.highland2.Document

Highland 2 Document Window extension.


#API Overview

Functions - API calls offered directly by the extension

Fields - Variables which can only be accessed from an object returned by a constructor


#API Documentation

#Functions

Signaturecp.highland2.Document.matches(element) -> boolean
TypeFunction
DescriptionChecks if the element is a Document.
Parameters
  • element - The element to check.
Returns
  • true if the element matches, false otherwise.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/highland2/Document.lua line 22

#Fields

Signaturecp.highland2.Document:documentPath() -> cp.prop <string; live>
TypeField
DescriptionThe current path for the document.
NotesNone
Sourcesrc/extensions/cp/highland2/Document.lua line 36

Signaturecp.highland2.Document.doShow <cp.rx.go.Statement>
TypeField
DescriptionA Statement that will show the Document when run.
NotesNone
Sourcesrc/extensions/cp/highland2/Document.lua line 121

Signaturecp.highland2.Document.revisionMode <cp.ui.Button>
TypeField
DescriptionThe Revision Mode button.
NotesNone
Sourcesrc/extensions/cp/highland2/Document.lua line 72

Signaturecp.highland2.Document.sidebar <cp.highland2.Sidebar>
TypeField
DescriptionThe Sidebar.
NotesNone
Sourcesrc/extensions/cp/highland2/Document.lua line 86

Signaturecp.highland2.Document.splitter <cp.ui.Splitter>
TypeField
DescriptionThe Splitter.
NotesNone
Sourcesrc/extensions/cp/highland2/Document.lua line 93

Signaturecp.highland2.Document.sprint <cp.ui.Button>
TypeField
DescriptionThe Sprint button.
NotesNone
Sourcesrc/extensions/cp/highland2/Document.lua line 79

Signaturecp.highland2.Document.templatePicker <cp.ui.Button>
TypeField
DescriptionThe Template Picker button.
NotesNone
Sourcesrc/extensions/cp/highland2/Document.lua line 58

Signaturecp.highland2.Document.text <cp.ui.TextArea>
TypeField
DescriptionThe TextArea containing the document text.
NotesNone
Sourcesrc/extensions/cp/highland2/Document.lua line 114

Signaturecp.highland2.Document.themePicker <cp.ui.Button>
TypeField
DescriptionThe Theme Picker button.
NotesNone
Sourcesrc/extensions/cp/highland2/Document.lua line 65