Theia API Documentation v1.65.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/plugin-ext
common/plugin-api-rpc
DocumentsExt
Interface DocumentsExt
interface
DocumentsExt
{
$acceptDirtyStateChanged
(
strUrl
:
UriComponents
,
isDirty
:
boolean
)
:
void
;
$acceptEncodingChanged
(
strUrl
:
UriComponents
,
encoding
:
string
)
:
void
;
$acceptModelChanged
(
strUrl
:
UriComponents
,
e
:
ModelChangedEvent
,
isDirty
:
boolean
,
)
:
void
;
$acceptModelModeChanged
(
startUrl
:
UriComponents
,
oldModeId
:
string
,
newModeId
:
string
,
)
:
void
;
$acceptModelSaved
(
strUrl
:
UriComponents
)
:
void
;
$acceptModelWillSave
(
strUrl
:
UriComponents
,
reason
:
TextDocumentSaveReason
,
saveTimeout
:
number
,
)
:
Promise
<
SingleEditOperation
[]
>
;
}
Implemented by
DocumentsExtImpl
Index
Methods
$accept
Dirty
State
Changed
$accept
Encoding
Changed
$accept
Model
Changed
$accept
Model
Mode
Changed
$accept
Model
Saved
$accept
Model
Will
Save
Methods
$accept
Dirty
State
Changed
$acceptDirtyStateChanged
(
strUrl
:
UriComponents
,
isDirty
:
boolean
)
:
void
Parameters
strUrl
:
UriComponents
isDirty
:
boolean
Returns
void
$accept
Encoding
Changed
$acceptEncodingChanged
(
strUrl
:
UriComponents
,
encoding
:
string
)
:
void
Parameters
strUrl
:
UriComponents
encoding
:
string
Returns
void
$accept
Model
Changed
$acceptModelChanged
(
strUrl
:
UriComponents
,
e
:
ModelChangedEvent
,
isDirty
:
boolean
,
)
:
void
Parameters
strUrl
:
UriComponents
e
:
ModelChangedEvent
isDirty
:
boolean
Returns
void
$accept
Model
Mode
Changed
$acceptModelModeChanged
(
startUrl
:
UriComponents
,
oldModeId
:
string
,
newModeId
:
string
,
)
:
void
Parameters
startUrl
:
UriComponents
oldModeId
:
string
newModeId
:
string
Returns
void
$accept
Model
Saved
$acceptModelSaved
(
strUrl
:
UriComponents
)
:
void
Parameters
strUrl
:
UriComponents
Returns
void
$accept
Model
Will
Save
$acceptModelWillSave
(
strUrl
:
UriComponents
,
reason
:
TextDocumentSaveReason
,
saveTimeout
:
number
,
)
:
Promise
<
SingleEditOperation
[]
>
Parameters
strUrl
:
UriComponents
reason
:
TextDocumentSaveReason
saveTimeout
:
number
Returns
Promise
<
SingleEditOperation
[]
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
$accept
Dirty
State
Changed
$accept
Encoding
Changed
$accept
Model
Changed
$accept
Model
Mode
Changed
$accept
Model
Saved
$accept
Model
Will
Save
Eclipse Theia Website
GitHub
Theia API Documentation v1.65.0
Loading...