1 11 package org.eclipse.jface.text; 12 13 14 32 public interface IDocumentInformationMapping { 33 34 40 IRegion getCoverage(); 41 42 50 int toOriginOffset(int imageOffset) throws BadLocationException; 51 52 60 IRegion toOriginRegion(IRegion imageRegion) throws BadLocationException; 61 62 70 IRegion toOriginLines(int imageLine) throws BadLocationException; 71 72 80 int toOriginLine(int imageLine) throws BadLocationException; 81 82 83 84 92 int toImageOffset(int originOffset) throws BadLocationException; 93 94 102 IRegion toImageRegion(IRegion originRegion) throws BadLocationException; 103 104 112 int toImageLine(int originLine) throws BadLocationException; 113 114 122 int toClosestImageLine(int originLine) throws BadLocationException; 123 } 124 | Popular Tags |