Class orion.textview.ModelChangingEvent
This is the event sent when the text in the model is about to change.
See:
orion.textview.TextView
orion.textview.TextView#event:onModelChanging
orion.textview.TextModel#onChanging
Defined in: </shared/eclipse/e4/orion/I201301232230/plugins/org.eclipse.orion.client.editor/web/orion/textview/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.