Class Index | File Index

Classes


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>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates a new generic diff block feeder Each item in the feeder is represented by a pair of number [lineIndexOfTheTextModel, correspondingMapperIndex].
Method Summary
Method Attributes Method Name and Description
 
getCharRange(blockIndex)
 
getCurrentWordAnnoType(annoPosition, textModel)
 
getDiffBlockH(diffBlockIndex)
 
 
getLineNumber(lineIndex)
 
 
 
getTextOnBlock(blockIndex)
 
 
Class Detail
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].
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.
Method Detail
getCharRange(blockIndex)
Parameters:
blockIndex

getCurrentWordAnnoType(annoPosition, textModel)
Parameters:
annoPosition
textModel

getDiffBlockH(diffBlockIndex)
Parameters:
diffBlockIndex

getDiffBlocks()

getLineNumber(lineIndex)
Parameters:
lineIndex

getMapper()

getOverviewLineCount()

getTextOnBlock(blockIndex)
Parameters:
blockIndex

getWordAnnoTypes(result)
Parameters:
result

isMapperEmpty()

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Apr 01 2014 22:58:22 GMT-0400 (EDT)