Eclipse Platform
2.0

Uses of Class
org.eclipse.jface.text.BadLocationException

Packages that use BadLocationException
org.eclipse.jface.text Provides a framework for creating, manipulating, displaying and editing text documents. 
org.eclipse.jface.text.rules Provides a framework for rule based text scanning and uses the framework to provide rule-driven default implementations of IPresentationDamager, IPresentationRepairer and IDocumentPartitioner
 

Uses of BadLocationException in org.eclipse.jface.text
 

Methods in org.eclipse.jface.text that throw BadLocationException
 String ILineTracker.getLineDelimiter(int line)
          Returns the line delimiter of the specified line.
 int ILineTracker.getNumberOfLines(int offset, int length)
          Returns the number of lines which are occupied by a given text range.
 int ILineTracker.getLineOffset(int line)
          Returns the position of the first character of the specified line.
 int ILineTracker.getLineLength(int line)
          Returns length of the specified line including the line's delimiter.
 int ILineTracker.getLineNumberOfOffset(int offset)
          Returns the line number the character at the given offset belongs to.
 IRegion ILineTracker.getLineInformationOfOffset(int offset)
          Returns a line description of the line at the given offset.
 IRegion ILineTracker.getLineInformation(int line)
          Returns a line description of the given line.
 void ILineTracker.replace(int offset, int length, String text)
          Informs the line tracker about the specified change in the tracked text.
 char IDocument.getChar(int offset)
          Returns the character at the given document offset in this document.
 String IDocument.get(int offset, int length)
          Returns this document's text for the specified range.
 void IDocument.replace(int offset, int length, String text)
          Subsitutes the given text for the specified document range.
 void IDocument.addPosition(Position position)
          Adds the position to the document's default position category.
 void IDocument.addPosition(String category, Position position)
          Adds the position to the specified position category of the document.
 int IDocument.computeIndexInCategory(String category, int offset)
          Computes the index at which a Position with the specified offset would be inserted into the given category.
 String IDocument.getContentType(int offset)
          Returns the type of the document partition containing the given offset.
 ITypedRegion IDocument.getPartition(int offset)
          Returns the document partition in which the position is located.
 ITypedRegion[] IDocument.computePartitioning(int offset, int length)
          Computes the partitioning of the given document range using the document's partitioner.
 int IDocument.getLineLength(int line)
          Returns the length of the given line including the line's delimiter.
 int IDocument.getLineOfOffset(int offset)
          Returns the number of the line at which the character of the specified position is located.
 int IDocument.getLineOffset(int line)
          Determines the offset of the first character of the given line.
 IRegion IDocument.getLineInformation(int line)
          Returns a description of the specified line.
 IRegion IDocument.getLineInformationOfOffset(int offset)
          Returns a description of the line at the given offset.
 int IDocument.getNumberOfLines(int offset, int length)
          Returns the number of lines which are occupied by a given text range.
 String IDocument.getLineDelimiter(int line)
          Returns the line delimiter of that line.
 int IDocument.search(int startOffset, String findString, boolean forwardSearch, boolean caseSensitive, boolean wholeWord)
          Returns the offset of a given search string in the document based on a set of search criteria.
protected  int DefaultAutoIndentStrategy.findEndOfWhiteSpace(IDocument document, int offset, int end)
          Returns the first offset greater than offset and smaller than end whose character is not a space or tab character.
 ChildDocument ChildDocumentManager.createChildDocument(IDocument parent, int offset, int length)
          Creates and returns a new child document for the specified range of the given parent document.
 void ChildDocument.setParentDocumentRange(int offset, int length)
          Sets the child document's parent document range.
 void ChildDocument.replace(int offset, int length, String text)
           
 int AbstractLineTracker.getLineLength(int line)
           
 int AbstractLineTracker.getLineNumberOfOffset(int position)
           
 IRegion AbstractLineTracker.getLineInformationOfOffset(int position)
           
 IRegion AbstractLineTracker.getLineInformation(int line)
           
 int AbstractLineTracker.getLineOffset(int line)
           
 int AbstractLineTracker.getNumberOfLines(int position, int length)
           
 void AbstractLineTracker.replace(int position, int length, String text)
           
 String AbstractLineTracker.getLineDelimiter(int line)
           
 void AbstractDocument.addPosition(String category, Position position)
           
 void AbstractDocument.addPosition(Position position)
           
 int AbstractDocument.computeIndexInCategory(String category, int offset)
           
 char AbstractDocument.getChar(int pos)
           
 String AbstractDocument.getContentType(int offset)
           
 String AbstractDocument.getLineDelimiter(int line)
           
 int AbstractDocument.getLineLength(int line)
           
 int AbstractDocument.getLineOfOffset(int pos)
           
 int AbstractDocument.getLineOffset(int line)
           
 IRegion AbstractDocument.getLineInformation(int line)
           
 IRegion AbstractDocument.getLineInformationOfOffset(int offset)
           
 int AbstractDocument.getNumberOfLines(int offset, int length)
           
 ITypedRegion AbstractDocument.getPartition(int offset)
           
 ITypedRegion[] AbstractDocument.computePartitioning(int offset, int length)
           
 String AbstractDocument.get(int pos, int length)
           
 void AbstractDocument.replace(int pos, int length, String text)
           
 int AbstractDocument.search(int startPosition, String findString, boolean forwardSearch, boolean caseSensitive, boolean wholeWord)
           
 

Uses of BadLocationException in org.eclipse.jface.text.rules
 

Methods in org.eclipse.jface.text.rules that throw BadLocationException
protected  int DefaultDamagerRepairer.endOfLineOf(int offset)
          Returns the end offset of the line that contains the specified offset or if the offset is inside a line delimiter, the end offset of the next line.
 


Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.