public interface IPositionConverter
Modifier and Type | Method and Description |
---|---|
org.eclipse.jface.text.IRegion |
actualToHistoric(org.eclipse.jface.text.IRegion actualPosition)
Converts an actual character range to the range where the underlying text
was originally found.
|
org.eclipse.jface.text.IRegion |
historicToActual(org.eclipse.jface.text.IRegion historicPosition)
Converts a historic character range to the range where the underlying text
currently can be found.
|
org.eclipse.jface.text.IRegion actualToHistoric(org.eclipse.jface.text.IRegion actualPosition)
actualPosition
- a range as found in the current text buffer for the file.org.eclipse.jface.text.IRegion historicToActual(org.eclipse.jface.text.IRegion historicPosition)
historicPosition
- a range as found in the version of the file for which
the converter was obtained.Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.