Search
Preparing search index...
The search index is not available
Theia TypeDoc
Options
All
Public
Public/Protected
All
Inherited
Menu
Theia TypeDoc
plugin-ext
CustomTextEditorModel
Class CustomTextEditorModel
Hierarchy
CustomTextEditorModel
Implements
CustomEditorModel
Index
Constructors
constructor
Properties
editor
Resource
on
Dirty
Changed
on
Dirty
Changed
Emitter
to
Dispose
view
Type
Accessors
auto
Save
auto
Save
Delay
dirty
editor
Text
Model
readonly
resource
Methods
dispose
revert
save
save
Custom
Editor
save
Custom
Editor
As
create
Constructors
constructor
new
Custom
Text
Editor
Model
(
viewType
:
string
, editorResource
:
URI
, model
:
Reference
<
MonacoEditorModel
>
, fileService
:
FileService
)
:
CustomTextEditorModel
Parameters
viewType:
string
editorResource:
URI
model:
Reference
<
MonacoEditorModel
>
fileService:
FileService
Returns
CustomTextEditorModel
Properties
Readonly
editor
Resource
editor
Resource
:
URI
Readonly
on
Dirty
Changed
on
Dirty
Changed
:
Event
<
void
>
= ...
Private
Readonly
on
Dirty
Changed
Emitter
on
Dirty
Changed
Emitter
:
Emitter
<
void
>
= ...
Private
Readonly
to
Dispose
to
Dispose
:
DisposableCollection
= ...
Readonly
view
Type
view
Type
:
string
Accessors
auto
Save
get
autoSave
(
)
:
"off"
|
"afterDelay"
|
"onFocusChange"
|
"onWindowChange"
Returns
"off"
|
"afterDelay"
|
"onFocusChange"
|
"onWindowChange"
auto
Save
Delay
get
autoSaveDelay
(
)
:
number
Returns
number
dirty
get
dirty
(
)
:
boolean
Returns
boolean
editor
Text
Model
get
editorTextModel
(
)
:
MonacoEditorModel
Returns
MonacoEditorModel
readonly
get
readonly
(
)
:
boolean
Returns
boolean
resource
get
resource
(
)
:
URI
Returns
URI
Methods
dispose
dispose
(
)
:
void
Returns
void
revert
revert
(
options
?:
RevertOptions
)
:
Promise
<
void
>
Parameters
Optional
options:
RevertOptions
Returns
Promise
<
void
>
save
save
(
options
?:
SaveOptions
)
:
Promise
<
void
>
Parameters
Optional
options:
SaveOptions
Returns
Promise
<
void
>
save
Custom
Editor
save
Custom
Editor
(
options
?:
SaveOptions
)
:
Promise
<
void
>
Parameters
Optional
options:
SaveOptions
Returns
Promise
<
void
>
save
Custom
Editor
As
save
Custom
Editor
As
(
resource
:
URI
, targetResource
:
URI
, options
?:
SaveOptions
)
:
Promise
<
void
>
Parameters
resource:
URI
targetResource:
URI
Optional
options:
SaveOptions
Returns
Promise
<
void
>
Static
create
create
(
viewType
:
string
, resource
:
URI
, editorModelService
:
EditorModelService
, fileService
:
FileService
)
:
Promise
<
CustomTextEditorModel
>
Parameters
viewType:
string
resource:
URI
editorModelService:
EditorModelService
fileService:
FileService
Returns
Promise
<
CustomTextEditorModel
>
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
Custom
Text
Editor
Model
constructor
editor
Resource
on
Dirty
Changed
on
Dirty
Changed
Emitter
to
Dispose
view
Type
auto
Save
auto
Save
Delay
dirty
editor
Text
Model
readonly
resource
dispose
revert
save
save
Custom
Editor
save
Custom
Editor
As
create