Ace API Reference
Preparing search index...
src/layer/lines
Lines
Class Lines
Index
Constructors
constructor
Properties
$offset
Coefficient
canvas
Height
cell
Cache
cells
element
Methods
$cache
Cell
compute
Line
Height
compute
Line
Top
create
Cell
get
get
Length
last
move
Container
page
Changed
pop
push
shift
unshift
Constructors
constructor
new
Lines
(
element
:
HTMLElement
,
canvasHeight
?:
number
)
:
Lines
Parameters
element
:
HTMLElement
Optional
canvasHeight
:
number
Returns
Lines
Properties
$offset
Coefficient
$offsetCoefficient
:
number
canvas
Height
canvasHeight
:
number
cell
Cache
cellCache
:
any
[]
cells
cells
:
any
[]
element
element
:
HTMLElement
Methods
$cache
Cell
$cacheCell
(
cell
:
any
)
:
void
Parameters
cell
:
any
Returns
void
compute
Line
Height
computeLineHeight
(
row
:
number
,
config
:
Ace
.
LayerConfig
,
session
:
EditSession
,
)
:
number
Parameters
row
:
number
config
:
Ace
.
LayerConfig
session
:
EditSession
Returns
number
compute
Line
Top
computeLineTop
(
row
:
number
,
config
:
Partial
<
Ace
.
LayerConfig
>
,
session
:
EditSession
,
)
:
number
Parameters
row
:
number
config
:
Partial
<
Ace
.
LayerConfig
>
session
:
EditSession
Returns
number
create
Cell
createCell
(
row
:
any
,
config
:
any
,
session
:
any
,
initElement
:
any
)
:
any
Parameters
row
:
any
config
:
any
session
:
any
initElement
:
any
Returns
any
get
get
(
index
:
number
)
:
any
Parameters
index
:
number
Returns
any
get
Length
getLength
()
:
number
Returns
number
last
last
()
:
any
Returns
any
move
Container
moveContainer
(
config
:
Ace
.
LayerConfig
)
:
void
Parameters
config
:
Ace
.
LayerConfig
Returns
void
page
Changed
pageChanged
(
oldConfig
:
Ace
.
LayerConfig
,
newConfig
:
Ace
.
LayerConfig
)
:
boolean
Parameters
oldConfig
:
Ace
.
LayerConfig
newConfig
:
Ace
.
LayerConfig
Returns
boolean
pop
pop
()
:
void
Returns
void
push
push
(
cell
:
any
)
:
void
Parameters
cell
:
any
Returns
void
shift
shift
()
:
void
Returns
void
unshift
unshift
(
cell
:
any
)
:
void
Parameters
cell
:
any
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
$offset
Coefficient
canvas
Height
cell
Cache
cells
element
Methods
$cache
Cell
compute
Line
Height
compute
Line
Top
create
Cell
get
get
Length
last
move
Container
page
Changed
pop
push
shift
unshift
Ace API Reference
Loading...