Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
plugin-ext
TextEditorMain
Class TextEditorMain
Implements
Disposable
Index
Constructors
constructor
Properties
editor
id
model
on
Properties
Changed
Emitter
properties
to
Dispose
to
Dispose
On
Editor
Accessors
on
Properties
Changed
Event
Methods
apply
Edits
dispose
get
Id
get
Model
get
Properties
insert
Snippet
is
Simple
Widget
reveal
Range
set
Configuration
set
Decorations
set
Decorations
Fast
set
Editor
set
Indent
Configuration
set
Properties
set
Selections
update
Properties
to
Monaco
Selections
Constructors
constructor
new
Text
Editor
Main
(
id
,
model
,
editor
)
:
TextEditorMain
Parameters
id
:
string
model
:
ITextModel
|
ITextModel
editor
:
MonacoEditor
|
SimpleMonacoEditor
Returns
TextEditorMain
Properties
Private
editor
editor
:
undefined
|
MonacoEditor
|
SimpleMonacoEditor
Private
id
id
:
string
Private
model
model
:
ITextModel
|
ITextModel
Private
Readonly
on
Properties
Changed
Emitter
on
Properties
Changed
Emitter
:
Emitter
<
EditorChangedPropertiesData
>
= ...
Private
properties
properties
:
undefined
|
TextEditorPropertiesMain
Private
Readonly
to
Dispose
to
Dispose
:
DisposableCollection
= ...
Protected
Readonly
to
Dispose
On
Editor
to
Dispose
On
Editor
:
DisposableCollection
= ...
Accessors
on
Properties
Changed
Event
get
onPropertiesChangedEvent
(
)
:
Event
<
EditorChangedPropertiesData
>
Returns
Event
<
EditorChangedPropertiesData
>
Methods
apply
Edits
apply
Edits
(
versionId
,
edits
,
opts
)
:
boolean
Parameters
versionId
:
number
edits
:
SingleEditOperation
[]
opts
:
ApplyEditsOptions
Returns
boolean
dispose
dispose
(
)
:
void
Returns
void
get
Id
get
Id
(
)
:
string
Returns
string
get
Model
get
Model
(
)
:
ITextModel
|
ITextModel
Returns
ITextModel
|
ITextModel
get
Properties
get
Properties
(
)
:
undefined
|
TextEditorPropertiesMain
Returns
undefined
|
TextEditorPropertiesMain
insert
Snippet
insert
Snippet
(
template
,
ranges
,
opts
)
:
boolean
Parameters
template
:
string
ranges
:
Range
[]
opts
:
UndoStopOptions
Returns
boolean
Private
is
Simple
Widget
is
Simple
Widget
(
model
)
:
model
is
ITextModel
Parameters
model
:
ITextModel
|
ITextModel
Returns
model
is
ITextModel
reveal
Range
reveal
Range
(
range
,
revealType
)
:
void
Parameters
range
:
Range
revealType
:
TextEditorRevealType
Returns
void
set
Configuration
set
Configuration
(
newConfiguration
)
:
void
Parameters
newConfiguration
:
TextEditorConfigurationUpdate
Returns
void
set
Decorations
set
Decorations
(
key
,
ranges
)
:
void
Parameters
key
:
string
ranges
:
DecorationOptions
[]
Returns
void
set
Decorations
Fast
set
Decorations
Fast
(
key
,
_ranges
)
:
void
Parameters
key
:
string
_ranges
:
number
[]
Returns
void
Private
set
Editor
set
Editor
(
editor
?
)
:
void
Parameters
Optional
editor
:
MonacoEditor
|
SimpleMonacoEditor
Returns
void
Private
set
Indent
Configuration
set
Indent
Configuration
(
newConfiguration
)
:
void
Parameters
newConfiguration
:
TextEditorConfigurationUpdate
Returns
void
Private
set
Properties
set
Properties
(
newProperties
,
source
)
:
void
Parameters
newProperties
:
TextEditorPropertiesMain
source
:
undefined
|
string
Returns
void
set
Selections
set
Selections
(
selections
)
:
void
Parameters
selections
:
Selection
[]
Returns
void
Private
update
Properties
update
Properties
(
source
?
)
:
void
Parameters
Optional
source
:
string
Returns
void
Static
Private
to
Monaco
Selections
to
Monaco
Selections
(
selection
)
:
Selection
Parameters
selection
:
Selection
Returns
Selection
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
editor
id
model
on
Properties
Changed
Emitter
properties
to
Dispose
to
Dispose
On
Editor
on
Properties
Changed
Event
apply
Edits
dispose
get
Id
get
Model
get
Properties
insert
Snippet
is
Simple
Widget
reveal
Range
set
Configuration
set
Decorations
set
Decorations
Fast
set
Editor
set
Indent
Configuration
set
Properties
set
Selections
update
Properties
to
Monaco
Selections
Theia TypeDoc
Loading...