getOffset renamed to getAddress to be the same in AS2 and AS3

This commit is contained in:
2015-12-08 13:35:39 +01:00
parent e2e4bd70ce
commit adf9a5b49c
12 changed files with 65 additions and 71 deletions
@@ -201,7 +201,7 @@ public class HighlightedTextWriter extends GraphTextWriter {
HighlightData ndata = new HighlightData();
ndata.merge(itemPos.data);
ndata.merge(data);
ndata.offset = src.getOffset() + pos;
ndata.offset = src.getAddress() + pos;
ndata.fileOffset = src.getFileOffset();
if (itemPos.startLineItem != null) {
ndata.firstLineOffset = itemPos.startLineItem.getLineOffset();