Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
plugin-ext
CustomEditorModel
Interface CustomEditorModel
interface
CustomEditorModel
{
dirty
:
boolean
;
readonly
:
boolean
;
resource
:
URI
;
viewType
:
string
;
redo
(
)
:
void
;
revert
(
options
?
)
:
Promise
<
void
>
;
saveCustomEditor
(
options
?
)
:
Promise
<
void
>
;
saveCustomEditorAs
(
resource
,
targetResource
,
options
?
)
:
Promise
<
void
>
;
undo
(
)
:
void
;
}
Hierarchy
Saveable
Disposable
CustomEditorModel
Implemented by
CustomTextEditorModel
MainCustomEditorModel
Index
Properties
dirty
readonly
resource
view
Type
Methods
redo
revert
save
Custom
Editor
save
Custom
Editor
As
undo
Properties
Readonly
dirty
dirty
:
boolean
Readonly
readonly
readonly
:
boolean
Readonly
resource
resource
:
URI
Readonly
view
Type
view
Type
:
string
Methods
redo
redo
(
)
:
void
Returns
void
revert
revert
(
options
?
)
:
Promise
<
void
>
Parameters
Optional
options
:
RevertOptions
Returns
Promise
<
void
>
save
Custom
Editor
save
Custom
Editor
(
options
?
)
:
Promise
<
void
>
Parameters
Optional
options
:
SaveOptions
Returns
Promise
<
void
>
save
Custom
Editor
As
save
Custom
Editor
As
(
resource
,
targetResource
,
options
?
)
:
Promise
<
void
>
Parameters
resource
:
URI
targetResource
:
URI
Optional
options
:
SaveOptions
Returns
Promise
<
void
>
undo
undo
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
dirty
readonly
resource
view
Type
redo
revert
save
Custom
Editor
save
Custom
Editor
As
undo
Theia TypeDoc
Loading...