Preparing search index...
The search index is not available
Ace API Reference
Ace API Reference
ace
Ace
SyntaxMode
Interface SyntaxMode
interface
SyntaxMode
{
$behaviour
?:
Behaviour
;
$defaultBehaviour
?:
Behaviour
;
HighlightRules
:
(
new
(
)
=>
HighlightRules
)
;
foldingRules
?:
FoldMode
;
lineCommentStart
?:
string
;
transformAction
:
BehaviorAction
;
autoOutdent
(
state
,
doc
,
row
)
:
void
;
checkOutdent
(
state
,
line
,
input
)
:
boolean
;
createModeDelegates
(
mapping
)
:
void
;
createWorker
(
session
)
:
any
;
getCompletions
(
state
,
session
,
pos
,
prefix
)
:
Ace
.
Completion
[]
;
getKeywords
(
append
?
)
:
(
string
|
RegExp
)
[]
;
getNextLineIndent
(
state
,
line
,
tab
)
:
string
;
getTokenizer
(
)
:
Ace
.
Tokenizer
;
toggleBlockComment
(
state
,
session
,
range
,
cursor
)
:
void
;
toggleCommentLines
(
state
,
session
,
startRow
,
endRow
)
:
void
;
}
Index
Properties
$behaviour?
$default
Behaviour?
Highlight
Rules
folding
Rules?
line
Comment
Start?
transform
Action
Methods
auto
Outdent
check
Outdent
create
Mode
Delegates
create
Worker
get
Completions
get
Keywords
get
Next
Line
Indent
get
Tokenizer
toggle
Block
Comment
toggle
Comment
Lines
Properties
Optional
$behaviour
$behaviour
?:
Behaviour
Optional
$default
Behaviour
$default
Behaviour
?:
Behaviour
Highlight
Rules
Highlight
Rules
:
(
new
(
)
=>
HighlightRules
)
Type declaration
new
(
)
:
HighlightRules
Returns
HighlightRules
Optional
folding
Rules
folding
Rules
?:
FoldMode
Optional
line
Comment
Start
line
Comment
Start
?:
string
transform
Action
transform
Action
:
BehaviorAction
Methods
auto
Outdent
auto
Outdent
(
state
,
doc
,
row
)
:
void
Parameters
state
:
any
doc
:
Ace
.
Document
row
:
number
Returns
void
check
Outdent
check
Outdent
(
state
,
line
,
input
)
:
boolean
Parameters
state
:
any
line
:
string
input
:
string
Returns
boolean
create
Mode
Delegates
create
Mode
Delegates
(
mapping
)
:
void
Parameters
mapping
:
{
[
key
:
string
]
:
string
;
}
[
key
:
string
]:
string
Returns
void
create
Worker
create
Worker
(
session
)
:
any
Parameters
session
:
Ace
.
EditSession
Returns
any
get
Completions
get
Completions
(
state
,
session
,
pos
,
prefix
)
:
Ace
.
Completion
[]
Parameters
state
:
string
session
:
Ace
.
EditSession
pos
:
Ace
.
Point
prefix
:
string
Returns
Ace
.
Completion
[]
get
Keywords
get
Keywords
(
append
?
)
:
(
string
|
RegExp
)
[]
Parameters
Optional
append
:
boolean
Returns
(
string
|
RegExp
)
[]
get
Next
Line
Indent
get
Next
Line
Indent
(
state
,
line
,
tab
)
:
string
Parameters
state
:
any
line
:
string
tab
:
string
Returns
string
get
Tokenizer
get
Tokenizer
(
)
:
Ace
.
Tokenizer
Returns
Ace
.
Tokenizer
toggle
Block
Comment
toggle
Block
Comment
(
state
,
session
,
range
,
cursor
)
:
void
Parameters
state
:
any
session
:
Ace
.
EditSession
range
:
Ace
.
Range
cursor
:
Ace
.
Point
Returns
void
toggle
Comment
Lines
toggle
Comment
Lines
(
state
,
session
,
startRow
,
endRow
)
:
void
Parameters
state
:
any
session
:
Ace
.
EditSession
startRow
:
number
endRow
:
number
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
$behaviour
$default
Behaviour
Highlight
Rules
folding
Rules
line
Comment
Start
transform
Action
auto
Outdent
check
Outdent
create
Mode
Delegates
create
Worker
get
Completions
get
Keywords
get
Next
Line
Indent
get
Tokenizer
toggle
Block
Comment
toggle
Comment
Lines
Ace API Reference
ace
src
ace
anchor
apply_delta
autocomplete
background_tokenizer
bidihandler
clipboard
commands
command_manager
default_commands
incremental_search_commands
multi_select_commands
occur_commands
config
css/editor-css
document
edit_session
editor
ext
Loading...
Generated using
TypeDoc