Preparing search index...
The search index is not available
Ace API Reference
Ace API Reference
src/edit_session/bracket_match
BracketMatch
Class BracketMatch
Index
Constructors
constructor
Properties
find
Matching
Bracket
get
Bracket
Range
get
Matching
Bracket
Ranges
get
Matching
Tags
Constructors
constructor
new
BracketMatch
()
:
BracketMatch
Returns
BracketMatch
Properties
find
Matching
Bracket
findMatchingBracket
:
(
this
:
EditSession
,
position
:
Point
,
chr
?:
string
)
=>
Point
get
Bracket
Range
getBracketRange
:
(
this
:
EditSession
,
pos
:
Point
)
=>
Range
get
Matching
Bracket
Ranges
getMatchingBracketRanges
:
(
this
:
EditSession
,
pos
:
Point
,
isBackwards
?:
boolean
,
)
=>
Range
[]
Returns:
null if there is no any bracket at
pos
;
two Ranges if there is opening and closing brackets;
one Range if there is only one bracket
get
Matching
Tags
getMatchingTags
:
(
this
:
EditSession
,
pos
:
Point
,
)
=>
{
closeTag
:
Range
;
closeTagName
:
Range
;
openTag
:
Range
;
openTagName
:
Range
;
}
Returns [[Range]]'s for matching tags and tag names, if there are any
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
find
Matching
Bracket
get
Bracket
Range
get
Matching
Bracket
Ranges
get
Matching
Tags
Ace API Reference
Loading...
Returns:
pos
;