Search
Preparing search index...
The search index is not available
Theia TypeDoc
Options
All
Public
Public/Protected
All
Inherited
Menu
Theia TypeDoc
plugin-ext
TextEditorsMainImpl
Class TextEditorsMainImpl
Hierarchy
TextEditorsMainImpl
Implements
TextEditorsMain
Disposable
Index
Constructors
constructor
Properties
editors
To
Dispose
file
Endpoint
proxy
to
Dispose
Methods
$register
Text
Editor
Decoration
Type
$remove
Text
Editor
Decoration
Type
$save
All
$try
Apply
Edits
$try
Apply
Workspace
Edit
$try
Hide
Editor
$try
Insert
Snippet
$try
Reveal
Range
$try
Set
Decorations
$try
Set
Decorations
Fast
$try
Set
Options
$try
Set
Selections
$try
Show
Text
Document
dispose
inject
Remote
Uris
on
Text
Editor
Add
on
Text
Editor
Remove
to
Remote
Uri
Constructors
constructor
new
Text
Editors
Main
Impl
(
editorsAndDocuments
:
EditorsAndDocumentsMain
, documents
:
DocumentsMain
, rpc
:
RPCProtocol
, bulkEditService
:
MonacoBulkEditService
, monacoEditorService
:
MonacoEditorService
)
:
TextEditorsMainImpl
Parameters
editorsAndDocuments:
EditorsAndDocumentsMain
documents:
DocumentsMain
rpc:
RPCProtocol
bulkEditService:
MonacoBulkEditService
monacoEditorService:
MonacoEditorService
Returns
TextEditorsMainImpl
Properties
Private
Readonly
editors
To
Dispose
editors
To
Dispose
:
Map
<
string
,
DisposableCollection
>
= ...
Private
Readonly
file
Endpoint
file
Endpoint
:
URI
= ...
Private
Readonly
proxy
proxy
:
TextEditorsExt
Private
Readonly
to
Dispose
to
Dispose
:
DisposableCollection
= ...
Methods
$register
Text
Editor
Decoration
Type
$register
Text
Editor
Decoration
Type
(
key
:
string
, options
:
DecorationRenderOptions
|
IDecorationRenderOptions
)
:
void
Parameters
key:
string
options:
DecorationRenderOptions
|
IDecorationRenderOptions
Returns
void
$remove
Text
Editor
Decoration
Type
$remove
Text
Editor
Decoration
Type
(
key
:
string
)
:
void
Parameters
key:
string
Returns
void
$save
All
$save
All
(
includeUntitled
?:
boolean
)
:
Promise
<
boolean
>
Parameters
Optional
includeUntitled:
boolean
Returns
Promise
<
boolean
>
$try
Apply
Edits
$try
Apply
Edits
(
id
:
string
, modelVersionId
:
number
, edits
:
SingleEditOperation
[]
, opts
:
ApplyEditsOptions
)
:
Promise
<
boolean
>
Parameters
id:
string
modelVersionId:
number
edits:
SingleEditOperation
[]
opts:
ApplyEditsOptions
Returns
Promise
<
boolean
>
$try
Apply
Workspace
Edit
$try
Apply
Workspace
Edit
(
dto
:
WorkspaceEditDto
, metadata
?:
WorkspaceEditMetadataDto
)
:
Promise
<
boolean
>
Parameters
dto:
WorkspaceEditDto
Optional
metadata:
WorkspaceEditMetadataDto
Returns
Promise
<
boolean
>
$try
Hide
Editor
$try
Hide
Editor
(
id
:
string
)
:
Promise
<
void
>
Parameters
id:
string
Returns
Promise
<
void
>
$try
Insert
Snippet
$try
Insert
Snippet
(
id
:
string
, template
:
string
, ranges
:
Range
[]
, opts
:
UndoStopOptions
)
:
Promise
<
boolean
>
Parameters
id:
string
template:
string
ranges:
Range
[]
opts:
UndoStopOptions
Returns
Promise
<
boolean
>
$try
Reveal
Range
$try
Reveal
Range
(
id
:
string
, range
:
Range
, revealType
:
TextEditorRevealType
)
:
Promise
<
void
>
Parameters
id:
string
range:
Range
revealType:
TextEditorRevealType
Returns
Promise
<
void
>
$try
Set
Decorations
$try
Set
Decorations
(
id
:
string
, key
:
string
, ranges
:
DecorationOptions
[]
)
:
Promise
<
void
>
Parameters
id:
string
key:
string
ranges:
DecorationOptions
[]
Returns
Promise
<
void
>
$try
Set
Decorations
Fast
$try
Set
Decorations
Fast
(
id
:
string
, key
:
string
, ranges
:
number
[]
)
:
Promise
<
void
>
Parameters
id:
string
key:
string
ranges:
number
[]
Returns
Promise
<
void
>
$try
Set
Options
$try
Set
Options
(
id
:
string
, options
:
TextEditorConfigurationUpdate
)
:
Promise
<
void
>
Parameters
id:
string
options:
TextEditorConfigurationUpdate
Returns
Promise
<
void
>
$try
Set
Selections
$try
Set
Selections
(
id
:
string
, selections
:
Selection
[]
)
:
Promise
<
void
>
Parameters
id:
string
selections:
Selection
[]
Returns
Promise
<
void
>
$try
Show
Text
Document
$try
Show
Text
Document
(
uri
:
UriComponents
, options
?:
TextDocumentShowOptions
)
:
Promise
<
void
>
Parameters
uri:
UriComponents
Optional
options:
TextDocumentShowOptions
Returns
Promise
<
void
>
dispose
dispose
(
)
:
void
Returns
void
Protected
inject
Remote
Uris
inject
Remote
Uris
(
options
:
DecorationRenderOptions
|
ThemeDecorationInstanceRenderOptions
)
:
void
Parameters
options:
DecorationRenderOptions
|
ThemeDecorationInstanceRenderOptions
Returns
void
Private
on
Text
Editor
Add
on
Text
Editor
Add
(
editor
:
TextEditorMain
)
:
void
Parameters
editor:
TextEditorMain
Returns
void
Private
on
Text
Editor
Remove
on
Text
Editor
Remove
(
id
:
string
)
:
void
Parameters
id:
string
Returns
void
Protected
to
Remote
Uri
to
Remote
Uri
(
uri
?:
UriComponents
)
:
undefined
|
UriComponents
Parameters
Optional
uri:
UriComponents
Returns
undefined
|
UriComponents
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
Editors
Main
Impl
constructor
editors
To
Dispose
file
Endpoint
proxy
to
Dispose
$register
Text
Editor
Decoration
Type
$remove
Text
Editor
Decoration
Type
$save
All
$try
Apply
Edits
$try
Apply
Workspace
Edit
$try
Hide
Editor
$try
Insert
Snippet
$try
Reveal
Range
$try
Set
Decorations
$try
Set
Decorations
Fast
$try
Set
Options
$try
Set
Selections
$try
Show
Text
Document
dispose
inject
Remote
Uris
on
Text
Editor
Add
on
Text
Editor
Remove
to
Remote
Uri