Class orion.DiffTreeNavigator.TwoWayDiffBlockFeeder
				
				
			
				A feeder to feed all the diff blocks based on the line index and mapper index.
				
				
					
Defined in:  </jobs/genie.orion/orion-client-stable/workspace/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)
								 | |
					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()