Eclipse Platform
2.1

Uses of Interface
org.eclipse.jface.text.IRegion

Packages that use IRegion
org.eclipse.debug.ui.console

Provides a set of interfaces and classes for rendering and annotating text in the debug console. 

org.eclipse.jface.text Provides a framework for creating, manipulating, displaying and editing text documents. 
org.eclipse.jface.text.formatter Provides a text formatter add-on for an ITextViewer
org.eclipse.jface.text.information Provides an information provider add-on for an ITextViewer
org.eclipse.jface.text.presentation Provides a presentation reconciler add-on for an ITextViewer
org.eclipse.jface.text.reconciler Provides a reconciler add-on for an ITextViewer
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
org.eclipse.jface.text.source Provides a framework for connecting document regions with annotations and for displaying those annotations in combination with an ITextViewer
org.eclipse.ui.texteditor Provides a framework for text editors obeying to the desktop rules. 
 

Uses of IRegion in org.eclipse.debug.ui.console
 

Methods in org.eclipse.debug.ui.console that return IRegion
 IRegion IConsole.getRegion(IConsoleHyperlink link)
          Returns the region of text associated with the given hyperlink, or null if the given hyperlink is not contained in this console.
 

Methods in org.eclipse.debug.ui.console with parameters of type IRegion
 void IConsoleLineTracker.lineAppended(IRegion line)
          Notification that a line of text has been appended to the console.
 

Uses of IRegion in org.eclipse.jface.text
 

Subinterfaces of IRegion in org.eclipse.jface.text
 interface ITypedRegion
          Describes a region of an indexed text store such as document or string.
 

Classes in org.eclipse.jface.text that implement IRegion
 class Region
          A default implementation of the IRegion interface.
 class TypedRegion
          Default implementation of ITypedRegion.
 

Methods in org.eclipse.jface.text that return IRegion
 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.
 IRegion AbstractLineTracker.getLineInformationOfOffset(int position)
           
 IRegion AbstractLineTracker.getLineInformation(int line)
           
 IRegion AbstractDocument.getLineInformation(int line)
           
 IRegion AbstractDocument.getLineInformationOfOffset(int offset)
           
 IRegion ProjectionDocument.computeParentDocumentRegion(int offset, int length)
          Computes and returns the region of the parent document that corresponds to the given region of the projection document.
 IRegion CoordinatesTranslator.toOriginRegion(IRegion imageRegion)
           
 IRegion CoordinatesTranslator.toOriginLines(int imageLine)
           
 IRegion CoordinatesTranslator.toImageRegion(IRegion originRegion)
           
 IRegion CoordinatesTranslator.getCoverage()
           
 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.
 IRegion ParentChildMapping.getCoverage()
           
 IRegion ParentChildMapping.toOriginRegion(IRegion imageRegion)
           
 IRegion ParentChildMapping.toOriginLines(int imageLine)
           
 IRegion ParentChildMapping.toImageRegion(IRegion originRegion)
           
 IRegion TextPresentation.getCoverage()
          Returns the coverage of this presentation as clipped by the presentation's result window.
 IRegion IFindReplaceTargetExtension.getScope()
          Returns the find scope of the target, null for global scope.
protected  IRegion TextViewer.getExtent(int start, int end)
          Returns the region covered by the given start and end offset.
 IRegion TextViewer.getVisibleRegion()
           
protected  IRegion TextViewer._internalGetVisibleRegion()
          Returns the visible region if it is not equal to the whole document.
 IRegion TextViewer.modelRange2WidgetRange(IRegion modelRange)
           
 IRegion TextViewer.widgetRange2ModelRange(IRegion widgetRange)
           
 IRegion TextViewer.getModelCoverage()
           
protected  IRegion TextViewer.modelRange2WidgetRange(Position modelPosition)
           
protected  IRegion TextViewer.event2ModelRange(VerifyEvent event)
          Translates the widget region of the given verify event into the corresponding region of the viewer's document.
 IRegion ITextViewerExtension3.getModelCoverage()
          Returns the minimal region of the viewer's document that completely comprises everything that is visible in the viewer's widget.
 IRegion ITextViewerExtension3.modelRange2WidgetRange(IRegion modelRange)
          Returns the minimal region of the viewer's widget that completely comprises the given region of the viewer's document or null if there is no such region.
 IRegion ITextViewerExtension3.widgetRange2ModelRange(IRegion widgetRange)
          Returns the minimal region of the viewer's document that completely comprises the given widget region or null if there is no such region.
 IRegion IDocumentPartitionerExtension.documentChanged2(DocumentEvent event)
          The document has been changed.
 IRegion ITextViewer.getVisibleRegion()
          Returns the current visible region of this viewer's document.
 IRegion ITextHover.getHoverRegion(ITextViewer textViewer, int offset)
          Returns the text region which should serve as the source of information to compute the hover popup display information.
 IRegion IDocumentInformationMapping.getCoverage()
          Returns the minimal region of the original document that completely comprises all of the image document or null if there is no such region.
 IRegion IDocumentInformationMapping.toOriginRegion(IRegion imageRegion)
          Returns the minimal region of the original document that completely comprises the given region of the image document or null if there is no such region.
 IRegion IDocumentInformationMapping.toOriginLines(int imageLine)
          Returns the range of lines of the original document that corresponds to the given line of the image document or null if there are no such lines.
 IRegion IDocumentInformationMapping.toImageRegion(IRegion originRegion)
          Returns the minimal region of the image document that completely comprises the given region of the original document or null if there is no such region.
 

Methods in org.eclipse.jface.text with parameters of type IRegion
protected  void AbstractDocument.fireDocumentPartitioningChanged(IRegion region)
          Fires the document partitioning changed notification to all registered document partitioning listeners.
protected  void AbstractDocument.doFireDocumentChanged(DocumentEvent event, boolean firePartitionChange, IRegion partitionChange)
          Notifies all listeners about the given document change.
 IRegion CoordinatesTranslator.toOriginRegion(IRegion imageRegion)
           
 IRegion CoordinatesTranslator.toImageRegion(IRegion originRegion)
           
 IRegion ParentChildMapping.toOriginRegion(IRegion imageRegion)
           
 IRegion ParentChildMapping.toImageRegion(IRegion originRegion)
           
 void TextPresentation.setResultWindow(IRegion resultWindow)
          Sets the result window for this presentation.
 void IFindReplaceTargetExtension.setScope(IRegion scope)
          Sets the find scope of the target to operate on.
 IRegion TextViewer.modelRange2WidgetRange(IRegion modelRange)
           
 IRegion TextViewer.widgetRange2ModelRange(IRegion widgetRange)
           
 void IDocumentPartitioningListenerExtension.documentPartitioningChanged(IDocument document, IRegion region)
          The partitioning of the given document changed in the given region.
 IRegion ITextViewerExtension3.modelRange2WidgetRange(IRegion modelRange)
          Returns the minimal region of the viewer's widget that completely comprises the given region of the viewer's document or null if there is no such region.
 IRegion ITextViewerExtension3.widgetRange2ModelRange(IRegion widgetRange)
          Returns the minimal region of the viewer's document that completely comprises the given widget region or null if there is no such region.
 String ITextHover.getHoverInfo(ITextViewer textViewer, IRegion hoverRegion)
          Returns the text which should be presented if a hover popup is shown for the specified hover region.
 IRegion IDocumentInformationMapping.toOriginRegion(IRegion imageRegion)
          Returns the minimal region of the original document that completely comprises the given region of the image document or null if there is no such region.
 IRegion IDocumentInformationMapping.toImageRegion(IRegion originRegion)
          Returns the minimal region of the image document that completely comprises the given region of the original document or null if there is no such region.
 

Uses of IRegion in org.eclipse.jface.text.formatter
 

Methods in org.eclipse.jface.text.formatter with parameters of type IRegion
 void ContentFormatter.format(IDocument document, IRegion region)
           
 void IContentFormatter.format(IDocument document, IRegion region)
          Formats the given region of the specified document.The formatter may safely assume that it is the only subject that modifies the document at this point in time.
 

Uses of IRegion in org.eclipse.jface.text.information
 

Methods in org.eclipse.jface.text.information that return IRegion
 IRegion IInformationProvider.getSubject(ITextViewer textViewer, int offset)
          Returns the region of the text viewer's document close to the given offset that contains a subject about which information can be provided.
 

Methods in org.eclipse.jface.text.information with parameters of type IRegion
 Object IInformationProviderExtension.getInformation2(ITextViewer textViewer, IRegion subject)
          Returns the element for the given subject or null if no element is available.
 String IInformationProvider.getInformation(ITextViewer textViewer, IRegion subject)
          Deprecated. As of 2.1, replaced by IInformationProviderExtension.getInformation2(ITextViewer, IRegion)
 

Uses of IRegion in org.eclipse.jface.text.presentation
 

Methods in org.eclipse.jface.text.presentation that return IRegion
 IRegion IPresentationDamager.getDamageRegion(ITypedRegion partition, DocumentEvent event, boolean documentPartitioningChanged)
          Returns the damage in the document's presentation caused by the given document change.
 

Uses of IRegion in org.eclipse.jface.text.reconciler
 

Classes in org.eclipse.jface.text.reconciler that implement IRegion
 class DirtyRegion
          A dirty region describes a document range which has been changed.
 

Methods in org.eclipse.jface.text.reconciler with parameters of type IRegion
 void IReconcilingStrategy.reconcile(DirtyRegion dirtyRegion, IRegion subRegion)
          Activates incremental reconciling of the specified dirty region.
 void IReconcilingStrategy.reconcile(IRegion partition)
          Activates non-incremental reconciling.
 

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

Methods in org.eclipse.jface.text.rules that return IRegion
 IRegion DefaultDamagerRepairer.getDamageRegion(ITypedRegion partition, DocumentEvent e, boolean documentPartitioningChanged)
           
 IRegion RuleBasedPartitioner.documentChanged2(DocumentEvent e)
          Deprecated.  
 IRegion DefaultPartitioner.documentChanged2(DocumentEvent e)
           
 

Uses of IRegion in org.eclipse.jface.text.source
 

Methods in org.eclipse.jface.text.source that return IRegion
 IRegion ICharacterPairMatcher.match(IDocument iDocument, int i)
          Starting at the given offset, the matcher chooses a character close to this offset.
 IRegion SourceViewer.getRangeIndication()
           
 IRegion ISourceViewer.getRangeIndication()
          Returns the viewer's range indication.
 IRegion ProjectionSourceViewer.getVisibleRegion()
           
protected  IRegion ProjectionSourceViewer.internalGetVisibleRegion()
           
 

Uses of IRegion in org.eclipse.ui.texteditor
 

Methods in org.eclipse.ui.texteditor that return IRegion
 IRegion AbstractTextEditor.getHighlightRange()
           
protected static IRegion AbstractTextEditor.getCoverage(ISourceViewer viewer)
          Returns the minimal region of the given source viewer's document that completely comprises everything that is visible in the viewer's widget.
 IRegion ITextEditor.getHighlightRange()
          Returns the highlighted range of this text editor.
 


Eclipse Platform
2.1

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