Class orion.DiffTreeNavigator.TwoWayDiffBlockFeeder
A feeder to feed all the diff blocks based on the line index and mapper index.
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.ui/web/orion/compare/diffTreeNavigator.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
orion.DiffTreeNavigator.TwoWayDiffBlockFeeder(The, The, The)
Creates a new generic diff block feeder
Each item in the feeder is represented by a pair of number [lineIndexOfTheTextModel, correspondingMapperIndex].
|
Method Attributes | Method Name and Description |
---|---|
getCharRange(blockIndex)
|
|
getCurrentWordAnnoType(annoPosition, textModel)
|
|
getDiffBlockH(diffBlockIndex)
|
|
getLineNumber(lineIndex)
|
|
getTextOnBlock(blockIndex)
|
|
getWordAnnoTypes(result)
|
|
- Parameters:
- {orion.editor.TextModel} The
- text model of the whole text.
- {array} The
- mapper generated from the unified diff.
- {integer} The
- column index where the line index can be calculated.
- Parameters:
- blockIndex
- Parameters:
- annoPosition
- textModel
- Parameters:
- diffBlockIndex
- Parameters:
- lineIndex
- Parameters:
- blockIndex
- Parameters:
- result