Search
Preparing search index...
The search index is not available
Theia TypeDoc
Options
All
Public
Public/Protected
All
Inherited
Menu
Theia TypeDoc
plugin-ext
TextEditorExt
Class TextEditorExt
Hierarchy
TextEditorExt
Implements
TextEditor
Index
Constructors
constructor
Properties
_document
_options
_view
Column
disposed
Accessors
document
options
selection
selections
view
Column
visible
Ranges
Methods
_accept
View
Column
accept
Options
accept
Selections
accept
View
Column
accept
Visible
Ranges
apply
Edit
dispose
edit
hide
insert
Snippet
reveal
Range
run
On
Proxy
set
Decorations
show
try
Set
Selection
Constructors
constructor
new
Text
Editor
Ext
(
proxy
:
TextEditorsMain
, id
:
string
, document
:
DocumentDataExt
, _selections
:
Selection
[]
, options
:
TextEditorConfiguration
, _visibleRanges
:
Range
[]
, viewColumn
:
undefined
|
ViewColumn
)
:
TextEditorExt
Parameters
proxy:
TextEditorsMain
id:
string
document:
DocumentDataExt
_selections:
Selection
[]
options:
TextEditorConfiguration
_visibleRanges:
Range
[]
viewColumn:
undefined
|
ViewColumn
Returns
TextEditorExt
Properties
Private
_document
_document
:
DocumentDataExt
Private
_options
_options
:
TextEditorOptionsExt
Private
_view
Column
_view
Column
:
undefined
|
ViewColumn
Private
disposed
disposed
:
boolean
= false
Accessors
document
get
document
(
)
:
TextDocument
set
document
(
doc
:
TextDocument
)
:
void
Returns
TextDocument
Parameters
doc:
TextDocument
Returns
void
options
get
options
(
)
:
TextEditorOptions
set
options
(
val
:
TextEditorOptions
)
:
void
Returns
TextEditorOptions
Parameters
val:
TextEditorOptions
Returns
void
selection
get
selection
(
)
:
Selection
set
selection
(
val
:
Selection
)
:
void
Returns
Selection
Parameters
val:
Selection
Returns
void
selections
get
selections
(
)
:
Selection
[]
set
selections
(
val
:
Selection
[]
)
:
void
Returns
Selection
[]
Parameters
val:
Selection
[]
Returns
void
view
Column
get
viewColumn
(
)
:
undefined
|
ViewColumn
set
viewColumn
(
value
:
undefined
|
ViewColumn
)
:
void
Returns
undefined
|
ViewColumn
Parameters
value:
undefined
|
ViewColumn
Returns
void
visible
Ranges
get
visibleRanges
(
)
:
Range
[]
set
visibleRanges
(
val
:
Range
[]
)
:
void
Returns
Range
[]
Parameters
val:
Range
[]
Returns
void
Methods
_accept
View
Column
_accept
View
Column
(
value
:
ViewColumn
)
:
void
Parameters
value:
ViewColumn
Returns
void
accept
Options
accept
Options
(
options
:
TextEditorConfiguration
)
:
void
Parameters
options:
TextEditorConfiguration
Returns
void
accept
Selections
accept
Selections
(
selections
:
Selection
[]
)
:
void
Parameters
selections:
Selection
[]
Returns
void
accept
View
Column
accept
View
Column
(
val
:
ViewColumn
)
:
void
Parameters
val:
ViewColumn
Returns
void
accept
Visible
Ranges
accept
Visible
Ranges
(
range
:
Range
[]
)
:
void
Parameters
range:
Range
[]
Returns
void
Private
apply
Edit
apply
Edit
(
edit
:
TextEditorEdit
)
:
Promise
<
boolean
>
Parameters
edit:
TextEditorEdit
Returns
Promise
<
boolean
>
dispose
dispose
(
)
:
void
Returns
void
edit
edit
(
callback
:
(
(
editBuilder
:
TextEditorEdit
)
=>
void
)
, options
?:
{
undoStopAfter
:
boolean
;
undoStopBefore
:
boolean
}
)
:
Promise
<
boolean
>
Parameters
callback:
(
(
editBuilder
:
TextEditorEdit
)
=>
void
)
(
editBuilder
:
TextEditorEdit
)
:
void
Parameters
editBuilder:
TextEditorEdit
Returns
void
options:
{
undoStopAfter
:
boolean
;
undoStopBefore
:
boolean
}
= ...
undo
Stop
After
:
boolean
undo
Stop
Before
:
boolean
Returns
Promise
<
boolean
>
hide
hide
(
)
:
void
Returns
void
insert
Snippet
insert
Snippet
(
snippet
:
SnippetString
, location
?:
Position
|
Range
|
Range
[]
|
Position
[]
, options
?:
{
undoStopAfter
:
boolean
;
undoStopBefore
:
boolean
}
)
:
Promise
<
boolean
>
Parameters
snippet:
SnippetString
Optional
location:
Position
|
Range
|
Range
[]
|
Position
[]
options:
{
undoStopAfter
:
boolean
;
undoStopBefore
:
boolean
}
= ...
undo
Stop
After
:
boolean
undo
Stop
Before
:
boolean
Returns
Promise
<
boolean
>
reveal
Range
reveal
Range
(
range
:
Range
, revealType
?:
TextEditorRevealType
)
:
void
Parameters
range:
Range
Optional
revealType:
TextEditorRevealType
Returns
void
Private
run
On
Proxy
run
On
Proxy
(
callback
:
(
(
)
=>
Promise
<
any
>
)
)
:
Promise
<
undefined
|
TextEditorExt
>
Parameters
callback:
(
(
)
=>
Promise
<
any
>
)
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
Returns
Promise
<
undefined
|
TextEditorExt
>
set
Decorations
set
Decorations
(
decorationType
:
TextEditorDecorationType
, rangesOrOptions
:
Range
[]
|
DecorationOptions
[]
)
:
void
Parameters
decorationType:
TextEditorDecorationType
rangesOrOptions:
Range
[]
|
DecorationOptions
[]
Returns
void
show
show
(
column
?:
ViewColumn
)
:
void
Parameters
Optional
column:
ViewColumn
Returns
void
Private
try
Set
Selection
try
Set
Selection
(
)
:
Promise
<
undefined
|
TextEditor
>
Returns
Promise
<
undefined
|
TextEditor
>
Modules
bulk-
edit
callhierarchy
console
core
debug
editor
editor-
preview
electron
external-
terminal
file-
search
filesystem
getting-
started
git
keymaps
markers
memory-
inspector
messages
metrics
mini-
browser
monaco
navigator
outline-
view
output
plugin
plugin-
dev
plugin-
ext
Comments
Command
Arg
Comments
Context
Command
Arg
Comments
Edit
Command
Arg
Composite
Tree
View
Node
Connection
Closed
Error
Custom
Editor
Widget
Data
Transfer
Data
Transfer
Data
Transfer
Item
Data
Transfer
Item
Debug
Adapter
Executable
Debug
Adapter
Inline
Implementation
Debug
Adapter
Named
Pipe
Server
Debug
Adapter
Server
Decoration
Range
Behavior
Decoration
Render
Options
Document
Link
Inlay
Hint
Kind
Known
Commands
Notification
Main
Object
Identifier
Parameter
Information
Plugin
Contributions
Plugin
Icon
Path
Plugin
Identifiers
Plugin
Package
Plugin
Paths
Plugin
View
Registry
Plugin
View
Widget
Process
Terminate
Message
Process
Terminated
Message
Schemes
Scm
Command
Arg
Selection
Provider
Commands
Signature
Help
Signature
Information
Symbol
Kind
Symbol
Kind
Converter
Text
Document
Show
Options
Text
Editor
Selection
Change
Kind
Themable
Decoration
Attachment
Render
Options
Themable
Decoration
Render
Options
Theme
Icon
Timeline
Command
Arg
Tree
View
Item
Reference
Tree
View
Node
View
Column
Webview
External
Endpoint
Webview
Widget
Workspace
Text
Edit
Dto
plugin-
ext-
vscode
plugin-
metrics
preferences
preview
process
property-
view
scm
scm-
extra
search-
in-
workspace
secondary-
window
task
terminal
timeline
toolbar
typehierarchy
userstorage
variable-
resolver
vsx-
registry
workspace
Text
Editor
Ext
constructor
_document
_options
_view
Column
disposed
document
options
selection
selections
view
Column
visible
Ranges
_accept
View
Column
accept
Options
accept
Selections
accept
View
Column
accept
Visible
Ranges
apply
Edit
dispose
edit
hide
insert
Snippet
reveal
Range
run
On
Proxy
set
Decorations
show
try
Set
Selection