Class orion.editor.ModelChangingEvent
This is the event sent when the text in the model is about to change.
See:
orion.editor.TextView
orion.editor.TextView#event:onModelChanging
orion.editor.TextModel#onChanging
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.editor/web/orion/editor/textView.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
The number of characters being added to the model.
|
|
The number of lines being added to the model.
|
|
The number of characters being removed from the model.
|
|
The number of lines being removed from the model.
|
|
The character offset in the model where the change will occur.
|
|
The text that is about to be inserted in the model.
|
Field Detail
{Number}
addedCharCount
The number of characters being added to the model.
{Number}
addedLineCount
The number of lines being added to the model.
{Number}
removedCharCount
The number of characters being removed from the model.
{Number}
removedLineCount
The number of lines being removed from the model.
{Number}
start
The character offset in the model where the change will occur.
{String}
text
The text that is about to be inserted in the model.