Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
plugin-ext
TextEditorEdit
Class TextEditorEdit
Index
Constructors
constructor
Properties
collected
Edits
document
document
Version
Id
eol
undo
Stop
After
undo
Stop
Before
Methods
add
Edit
delete
finalize
insert
replace
set
End
Of
Line
Constructors
constructor
new
Text
Editor
Edit
(
document
,
options
)
:
TextEditorEdit
Parameters
document
:
TextDocument
options
:
{
undoStopAfter
:
boolean
;
undoStopBefore
:
boolean
;
}
undo
Stop
After
:
boolean
undo
Stop
Before
:
boolean
Returns
TextEditorEdit
Properties
Private
collected
Edits
collected
Edits
:
TextEditOperation
[]
Private
document
document
:
TextDocument
Private
Readonly
document
Version
Id
document
Version
Id
:
number
Private
eol
eol
:
undefined
|
EndOfLine
Private
Readonly
undo
Stop
After
undo
Stop
After
:
boolean
Private
Readonly
undo
Stop
Before
undo
Stop
Before
:
boolean
Methods
Private
add
Edit
add
Edit
(
range
,
text
,
moveMarkers
)
:
void
Parameters
range
:
Range
text
:
undefined
|
string
moveMarkers
:
boolean
Returns
void
delete
delete
(
location
)
:
void
Parameters
location
:
Range
|
Selection
Returns
void
finalize
finalize
(
)
:
EditData
Returns
EditData
insert
insert
(
location
,
val
)
:
void
Parameters
location
:
Position
val
:
string
Returns
void
replace
replace
(
location
,
val
)
:
void
Parameters
location
:
Position
|
Range
|
Selection
val
:
string
Returns
void
set
End
Of
Line
set
End
Of
Line
(
endOfLine
)
:
void
Parameters
endOfLine
:
EndOfLine
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
collected
Edits
document
document
Version
Id
eol
undo
Stop
After
undo
Stop
Before
add
Edit
delete
finalize
insert
replace
set
End
Of
Line
Theia TypeDoc
Loading...