Uses of Interface
org.eclipse.jface.text.IRegion
Package
Description
Provides support for performing structural and textual
compare operations on arbitrary data and displaying the results.
Provides a set of interfaces and classes for rendering and annotating text in the debug console.
Provides a framework for creating and manipulating text documents.
Provides a content formatter add-on for an
ITextViewer
.Provides support for detecting and displaying hyperlinks in
ISourceViewer
s.Provides an information provider add-on for an
ITextViewer
.Application programming interfaces for interaction
with the Eclipse text editor's linked position support.
Provides a presentation reconciler add-on for an
ITextViewer
.This package provides an implementation of projection documents.
Provides a reconciler add-on for an
ITextViewer
.Provides a framework for rule based text scanning
and uses the framework to provide rule-driven default implementations of
IPresentationDamager
, IPresentationRepairer
and IDocumentPartitioner
.Provides a framework for connecting document regions
with annotations and for displaying those.
This package provides the UI part for projection documents of which the most important part is the projection viewer.
Application programming interfaces for interaction
with the Eclipse text template support.
Application programmer interface to implement semantic preserving workspace transformations.
Application programming interface to implement a wizard based user interface for refactorings.
Provides the base classes to implement a search result view part for searches with textual matches.
Provides support for describing and applying textual document editions.
Application programming interfaces for interaction
with the Eclipse console.
Provides a framework for text editors obeying to the
desktop rules.
Partial infrastructure for spell checking in text editors.
-
Uses of IRegion in org.eclipse.compare
Modifier and TypeMethodDescriptionIRegion[]
ICompareFilter.getFilteredRegions
(HashMap lineComparison) Identifies the regions of a line of text in a comparison that should be ignored for comparison purposes. -
Uses of IRegion in org.eclipse.compare.internal
ModifierConstructorDescriptionDocLineComparator
(IDocument document, IRegion region, boolean ignoreWhiteSpace) Creates aDocLineComparator
for the given document range.DocLineComparator
(IDocument document, IRegion region, boolean ignoreWhiteSpace, ICompareFilter[] compareFilters, char contributor, Optional<IIgnoreWhitespaceContributor> ignoreWhitespaceContributor) Creates aDocLineComparator
for the given document range. -
Uses of IRegion in org.eclipse.debug.ui.console
Modifier and TypeMethodDescriptionIConsole.getRegion
(IConsoleHyperlink link) Deprecated.replaced with getRegion(IHyperlink link) insteadIConsole.getRegion
(IHyperlink link) Returns the region of text associated with the given hyperlink, ornull
if the given hyperlink is not contained in this console.Modifier and TypeMethodDescriptionvoid
IConsoleLineTracker.lineAppended
(IRegion line) Notification that a line of text has been appended to the console. -
Uses of IRegion in org.eclipse.jface.text
Modifier and TypeInterfaceDescriptioninterface
Describes a region of an indexed text store such as a document or a string.Modifier and TypeClassDescriptionclass
The default implementation of theIRegion
interface.class
Default implementation ofITypedRegion
.Modifier and TypeMethodDescriptionprotected IRegion
TextViewer._internalGetVisibleRegion()
Returns the visible region if it is not equal to the whole document.IDocumentPartitionerExtension.documentChanged2
(DocumentEvent event) The document has been changed.protected IRegion
TextViewer.event2ModelRange
(VerifyEvent event) Translates the widget region of the given verify event into the corresponding region of the viewer's document.FindReplaceDocumentAdapter.find
(int startOffset, String findString, boolean forwardSearch, boolean caseSensitive, boolean wholeWord, boolean regExSearch) Returns the location of a given string in this adapter's document based on a set of search criteria.protected IRegion
DefaultTextDoubleClickStrategy.findExtendedDoubleClickSelection
(IDocument document, int offset) Tries to find a suitable double click selection for the given offset.protected IRegion
Tries to find the word at the given offset.DocumentPartitioningChangedEvent.getChangedRegion
(String partitioning) Returns the changed region of the given partitioning ornull
if the given partitioning did not change.DocumentPartitioningChangedEvent.getCoverage()
Returns the coverage of this event.IDocumentInformationMapping.getCoverage()
Returns the minimal region of the original document that completely comprises all of the image document ornull
if there is no such region.TextPresentation.getCoverage()
Returns the coverage of this presentation as clipped by the presentation's result window.IRegion[]
ITextViewerExtension5.getCoveredModelRanges
(IRegion modelRange) Returns the maximal subranges of the given model range thus that there is no offset inside a subrange for which there is no image offset.static IRegion[]
JFaceTextUtil.getCoveredRanges
(ITextViewer viewer, ITextSelection selection) Returns the text regions covered by the given selection in the given viewer.IRegion[]
IDocumentInformationMappingExtension.getExactCoverage
(IRegion originRegion) Returns the maximal sub-regions of the given origin region which are completely covered.TextPresentation.getExtent()
Returns the extent of this presentation clipped by the presentation's result window.protected final IRegion
TextViewer.getExtent
(int start, int end) Returns the region covered by the given start and end offset.DefaultTextHover.getHoverRegion
(ITextViewer textViewer, int offset) 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.AbstractDocument.getLineInformation
(int line) AbstractLineTracker.getLineInformation
(int line) IDocument.getLineInformation
(int line) Returns a description of the specified line.ILineTracker.getLineInformation
(int line) Returns a line description of the given line.AbstractDocument.getLineInformationOfOffset
(int offset) AbstractLineTracker.getLineInformationOfOffset
(int offset) IDocument.getLineInformationOfOffset
(int offset) Returns a description of the line at the given offset.ILineTracker.getLineInformationOfOffset
(int offset) Returns a line description of the line at the given offset.ITextViewerExtension3.getModelCoverage()
Deprecated.Returns the minimal region of the viewer's document that completely comprises everything that is visible in the viewer's widget ornull
if there is no such region.ITextViewerExtension5.getModelCoverage()
Returns the minimal region of the viewer's input document that completely comprises everything that is visible in the viewer's widget ornull
if there is no such region.TextViewer.getModelCoverage()
Implements the contract ofITextViewerExtension5.getModelCoverage()
.IRegion[]
BlockTextSelection.getRegions()
IRegion[]
IBlockTextSelection.getRegions()
Returns a non-empty array containing the selected text range for each line covered by the selection.IRegion[]
IMultiTextSelection.getRegions()
Returns a non-empty array containing the selected text range for each line covered by the selection.IRegion[]
MultiTextSelection.getRegions()
IRegion[]
TextSelection.getRegions()
IFindReplaceTargetExtension.getScope()
Returns the find scope of the target,null
for global scope.ITextViewer.getVisibleRegion()
Returns the current visible region of this viewer's document.TextViewer.getVisibleRegion()
protected IRegion
TextViewer.modelRange2ClosestWidgetRange
(IRegion modelRange) Similar toTextViewer.modelRange2WidgetRange(IRegion)
, but more forgiving: ifmodelRange
describes a region entirely hidden in the image, then this method returns the zero-length region at the offset of the folded region.ITextViewerExtension3.modelRange2WidgetRange
(IRegion modelRange) Deprecated.Returns the minimal region of the viewer's widget that completely comprises the given region of the viewer's document ornull
if there is no such region.ITextViewerExtension5.modelRange2WidgetRange
(IRegion modelRange) Returns the minimal region of the viewer's widget that completely comprises the given region of the viewer's input document ornull
if there is no such region.TextViewer.modelRange2WidgetRange
(IRegion modelRange) Implements the contract ofITextViewerExtension5.modelRange2WidgetRange(IRegion)
.protected IRegion
TextViewer.modelRange2WidgetRange
(Position modelPosition) Same asTextViewer.modelRange2WidgetRange(IRegion)
just for aPosition
.Substitutes the previous match with the given text.IDocumentInformationMappingExtension2.toClosestImageRegion
(IRegion originRegion) Returns the minimal region of the image document that completely comprises the given region of the original document.IDocumentInformationMappingExtension.toExactImageRegion
(IRegion originRegion) Adheres tooriginRegion=toOriginRegion(toExactImageRegion(originRegion))
, iftoExactImageRegion(originRegion) !
IRegion[]
IDocumentInformationMappingExtension.toExactImageRegions
(IRegion originRegion) Returns the segments of the image document that exactly correspond to the given region of the original document.IRegion[]
IDocumentInformationMappingExtension.toExactOriginRegions
(IRegion imageRegion) Returns the fragments of the original document that exactly correspond to the given region of the image document.IDocumentInformationMapping.toImageRegion
(IRegion originRegion) Returns the minimal region of the image document that completely comprises the given region of the original document ornull
if there is no such region.IDocumentInformationMapping.toOriginLines
(int imageLine) Returns the range of lines of the original document that corresponds to the given line of the image document ornull
if there are no such lines.IDocumentInformationMapping.toOriginRegion
(IRegion imageRegion) Returns the minimal region of the original document that completely comprises the given region of the image document ornull
if there is no such region.ITextViewerExtension3.widgetRange2ModelRange
(IRegion widgetRange) Deprecated.Returns the minimal region of the viewer's document that completely comprises the given widget region ornull
if there is no such region.ITextViewerExtension5.widgetRange2ModelRange
(IRegion widgetRange) Returns the minimal region of the viewer's input document that completely comprises the given widget region ornull
if there is no such region.TextViewer.widgetRange2ModelRange
(IRegion widgetRange) Implements the contract ofITextViewerExtension5.widgetRange2ModelRange(IRegion)
.Modifier and TypeMethodDescriptionstatic Rectangle
JFaceTextUtil.computeArea
(IRegion region, ITextViewer textViewer) Determines the graphical area covered by the given text region in the given viewer.void
IDocumentPartitioningListenerExtension.documentPartitioningChanged
(IDocument document, IRegion region) The partitioning of the given document changed in the given region.protected void
AbstractDocument.doFireDocumentChanged
(DocumentEvent event, boolean firePartitionChange, IRegion partitionChange) Deprecated.as of 3.0.boolean
ITextViewerExtension5.exposeModelRange
(IRegion modelRange) Exposes the given model range.protected void
AbstractDocument.fireDocumentPartitioningChanged
(IRegion region) Deprecated.as of 3.0.IRegion[]
ITextViewerExtension5.getCoveredModelRanges
(IRegion modelRange) Returns the maximal subranges of the given model range thus that there is no offset inside a subrange for which there is no image offset.IRegion[]
IDocumentInformationMappingExtension.getExactCoverage
(IRegion originRegion) Returns the maximal sub-regions of the given origin region which are completely covered.DefaultTextHover.getHoverInfo
(ITextViewer textViewer, IRegion hoverRegion) Deprecated.As of 3.4, replaced byITextHoverExtension2.getHoverInfo2(ITextViewer, IRegion)
ITextHover.getHoverInfo
(ITextViewer textViewer, IRegion hoverRegion) Deprecated.As of 3.4, replaced byITextHoverExtension2.getHoverInfo2(ITextViewer, IRegion)
ITextHoverExtension2.getHoverInfo2
(ITextViewer textViewer, IRegion hoverRegion) Returns the information which should be presented when a hover popup is shown for the specified hover region.boolean
IEditingSupport.isOriginator
(DocumentEvent event, IRegion subjectRegion) Returnstrue
if the receiver is the originator of aDocumentEvent
and if thatevent
is related tosubjectRegion
.protected IRegion
TextViewer.modelRange2ClosestWidgetRange
(IRegion modelRange) Similar toTextViewer.modelRange2WidgetRange(IRegion)
, but more forgiving: ifmodelRange
describes a region entirely hidden in the image, then this method returns the zero-length region at the offset of the folded region.ITextViewerExtension3.modelRange2WidgetRange
(IRegion modelRange) Deprecated.Returns the minimal region of the viewer's widget that completely comprises the given region of the viewer's document ornull
if there is no such region.ITextViewerExtension5.modelRange2WidgetRange
(IRegion modelRange) Returns the minimal region of the viewer's widget that completely comprises the given region of the viewer's input document ornull
if there is no such region.TextViewer.modelRange2WidgetRange
(IRegion modelRange) Implements the contract ofITextViewerExtension5.modelRange2WidgetRange(IRegion)
.static boolean
Returnstrue
if the two regions overlap.void
TextPresentation.setResultWindow
(IRegion resultWindow) Sets the result window for this presentation.void
Sets the find scope of the target to operate on.void
IFindReplaceTargetExtension4.setSelection
(IRegion[] ranges) IDocumentInformationMappingExtension2.toClosestImageRegion
(IRegion originRegion) Returns the minimal region of the image document that completely comprises the given region of the original document.IDocumentInformationMappingExtension.toExactImageRegion
(IRegion originRegion) Adheres tooriginRegion=toOriginRegion(toExactImageRegion(originRegion))
, iftoExactImageRegion(originRegion) !
IRegion[]
IDocumentInformationMappingExtension.toExactImageRegions
(IRegion originRegion) Returns the segments of the image document that exactly correspond to the given region of the original document.IRegion[]
IDocumentInformationMappingExtension.toExactOriginRegions
(IRegion imageRegion) Returns the fragments of the original document that exactly correspond to the given region of the image document.IDocumentInformationMapping.toImageRegion
(IRegion originRegion) Returns the minimal region of the image document that completely comprises the given region of the original document ornull
if there is no such region.IDocumentInformationMapping.toOriginRegion
(IRegion imageRegion) Returns the minimal region of the original document that completely comprises the given region of the image document ornull
if there is no such region.ITextViewerExtension3.widgetRange2ModelRange
(IRegion widgetRange) Deprecated.Returns the minimal region of the viewer's document that completely comprises the given widget region ornull
if there is no such region.ITextViewerExtension5.widgetRange2ModelRange
(IRegion widgetRange) Returns the minimal region of the viewer's input document that completely comprises the given widget region ornull
if there is no such region.TextViewer.widgetRange2ModelRange
(IRegion widgetRange) Implements the contract ofITextViewerExtension5.widgetRange2ModelRange(IRegion)
.ModifierConstructorDescriptionMultiTextSelection
(IDocument document, IRegion[] regions) TextPresentation
(IRegion extent, int sizeHint) Creates a new empty text presentation with the given extent. -
Uses of IRegion in org.eclipse.jface.text.formatter
Modifier and TypeMethodDescriptionvoid
void
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.final void
-
Uses of IRegion in org.eclipse.jface.text.hyperlink
Modifier and TypeMethodDescriptionIHyperlink.getHyperlinkRegion()
The region covered by this type of hyperlink.URLHyperlink.getHyperlinkRegion()
Modifier and TypeMethodDescriptionIHyperlinkDetector.detectHyperlinks
(ITextViewer textViewer, IRegion region, boolean canShowMultipleHyperlinks) Tries to detect hyperlinks for the given region in the given text viewer and returns them.URLHyperlinkDetector.detectHyperlinks
(ITextViewer textViewer, IRegion region, boolean canShowMultipleHyperlinks) ModifierConstructorDescriptionURLHyperlink
(IRegion region, String urlString) Creates a new URL hyperlink. -
Uses of IRegion in org.eclipse.jface.text.information
Modifier and TypeMethodDescriptionIInformationProvider.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.Modifier and TypeMethodDescriptionIInformationProvider.getInformation
(ITextViewer textViewer, IRegion subject) Deprecated.As of 2.1, replaced byIInformationProviderExtension.getInformation2(ITextViewer, IRegion)
IInformationProviderExtension.getInformation2
(ITextViewer textViewer, IRegion subject) Returns the element for the given subject ornull
if no element is available. -
Uses of IRegion in org.eclipse.jface.text.link
Modifier and TypeMethodDescriptionLinkedModeUI.getSelectedRegion()
Returns the currently selected region ornull
. -
Uses of IRegion in org.eclipse.jface.text.presentation
Modifier and TypeMethodDescriptionIPresentationDamager.getDamageRegion
(ITypedRegion partition, DocumentEvent event, boolean documentPartitioningChanged) Returns the damage in the document's presentation caused by the given document change.Modifier and TypeMethodDescriptionprotected TextPresentation
PresentationReconciler.createPresentation
(IRegion damage, IDocument document) Constructs a "repair description" for the given damage and returns this description as a text presentation. -
Uses of IRegion in org.eclipse.jface.text.projection
Modifier and TypeMethodDescriptionfinal IRegion[]
ProjectionDocument.computeProjectedMasterRegions
(int offsetInMaster, int lengthInMaster) Returns the sequence of all master document regions with are contained in the given master document range and which are part of this projection document.final IRegion[]
ProjectionDocument.computeUnprojectedMasterRegions
(int offsetInMaster, int lengthInMaster) Returns the sequence of all master document regions which are contained in the given master document range and which are not yet part of this projection document.ProjectionMapping.getCoverage()
IRegion[]
ProjectionMapping.getExactCoverage
(IRegion originRegion) ProjectionMapping.toClosestImageRegion
(IRegion originRegion) ProjectionMapping.toExactImageRegion
(IRegion originRegion) IRegion[]
ProjectionMapping.toExactImageRegions
(IRegion originRegion) IRegion[]
ProjectionMapping.toExactOriginRegions
(IRegion imageRegion) ProjectionMapping.toImageRegion
(IRegion originRegion) ProjectionMapping.toOriginLines
(int imageLine) ProjectionMapping.toOriginRegion
(IRegion imageRegion) Modifier and TypeMethodDescriptionIRegion[]
ProjectionMapping.getExactCoverage
(IRegion originRegion) ProjectionMapping.toClosestImageRegion
(IRegion originRegion) ProjectionMapping.toExactImageRegion
(IRegion originRegion) IRegion[]
ProjectionMapping.toExactImageRegions
(IRegion originRegion) IRegion[]
ProjectionMapping.toExactOriginRegions
(IRegion imageRegion) ProjectionMapping.toImageRegion
(IRegion originRegion) ProjectionMapping.toOriginRegion
(IRegion imageRegion) -
Uses of IRegion in org.eclipse.jface.text.reconciler
Modifier and TypeClassDescriptionclass
A dirty region describes a document range which has been changed.Modifier and TypeMethodDescriptionfinal IReconcileResult[]
final IReconcileResult[]
AbstractReconcileStep.reconcile
(DirtyRegion dirtyRegion, IRegion subRegion) Activates non-incremental reconciling.IReconcileStep.reconcile
(DirtyRegion dirtyRegion, IRegion subRegion) Activates incremental reconciling of the specified dirty region.void
Activates non-incremental reconciling.void
IReconcilingStrategy.reconcile
(DirtyRegion dirtyRegion, IRegion subRegion) Activates incremental reconciling of the specified dirty region.protected abstract IReconcileResult[]
AbstractReconcileStep.reconcileModel
(DirtyRegion dirtyRegion, IRegion subRegion) Reconciles the model of this reconcile step. -
Uses of IRegion in org.eclipse.jface.text.rules
Modifier and TypeMethodDescriptionDefaultPartitioner.documentChanged2
(DocumentEvent e) Deprecated.FastPartitioner.documentChanged2
(DocumentEvent e) The document has been changed.RuleBasedPartitioner.documentChanged2
(DocumentEvent e) Deprecated.DefaultDamagerRepairer.getDamageRegion
(ITypedRegion partition, DocumentEvent e, boolean documentPartitioningChanged) Returns the damage in the document's presentation caused by the given document change. -
Uses of IRegion in org.eclipse.jface.text.source
Modifier and TypeMethodDescriptionDefaultCharacterPairMatcher.findEnclosingPeerCharacters
(IDocument document, int offset, int length) ICharacterPairMatcherExtension.findEnclosingPeerCharacters
(IDocument document, int offset, int length) Starting at the given selection, the matcher searches for a pair of enclosing peer characters and if it finds one, returns the minimal region of the document that contains the pair.ISourceViewer.getRangeIndication()
Returns the viewer's range indication.SourceViewer.getRangeIndication()
Starting at the given offset, the matcher chooses a character close to this offset.Starting at the given offset (i.e. length 0) or the selected character, the matcher searches for the matching peer character and if it finds one, returns the minimal region of the document that contains both characters.Modifier and TypeMethodDescriptionboolean
DefaultCharacterPairMatcher.isRecomputationOfEnclosingPairRequired
(IDocument document, IRegion currentSelection, IRegion previousSelection) boolean
ICharacterPairMatcherExtension.isRecomputationOfEnclosingPairRequired
(IDocument document, IRegion currentSelection, IRegion previousSelection) Computes whether a client needs to recompute the enclosing pair after a selection change in the document. -
Uses of IRegion in org.eclipse.jface.text.source.projection
Modifier and TypeMethodDescriptionProjectionViewer.computeCollapsedRegion
(Position position) Computes the region that must be collapsed when the given position is the position of an expanded projection annotation.IRegion[]
IProjectionPosition.computeProjectionRegions
(IDocument document) Returns an array of regions that should be collapsed when the annotation belonging to this position is collapsed.IRegion[]
ProjectionViewer.getCoveredModelRanges
(IRegion modelRange) ProjectionViewer.getVisibleRegion()
Modifier and TypeMethodDescriptionboolean
ProjectionViewer.exposeModelRange
(IRegion modelRange) IRegion[]
ProjectionViewer.getCoveredModelRanges
(IRegion modelRange) -
Uses of IRegion in org.eclipse.jface.text.templates
Modifier and TypeMethodDescriptionprotected TemplateContext
TemplateCompletionProcessor.createContext
(ITextViewer viewer, IRegion region) Creates a concrete template context for the given region in the document.protected ICompletionProposal
TemplateCompletionProcessor.createProposal
(Template template, TemplateContext context, IRegion region, int relevance) Creates a new proposal.protected abstract TemplateContextType
TemplateCompletionProcessor.getContextType
(ITextViewer viewer, IRegion region) Returns the context type that can handle template insertion at the given region in the viewer's document.ModifierConstructorDescriptionTemplateProposal
(Template template, TemplateContext context, IRegion region, Image image) Creates a template proposal with a template and its context.TemplateProposal
(Template template, TemplateContext context, IRegion region, Image image, int relevance) Creates a template proposal with a template and its context. -
Uses of IRegion in org.eclipse.ltk.core.refactoring
Modifier and TypeMethodDescriptionTextEditBasedChangeGroup.getRegion()
Returns the region covered by the underlying text edit group.FileStatusContext.getTextRegion()
Returns the context's source regionModifier and TypeMethodDescriptionfinal String
MultiStateTextFileChange.getCurrentContent
(IRegion region, boolean expand, int surround, IProgressMonitor monitor) TextChange.getCurrentContent
(IRegion region, boolean expandRegionToFullLine, int surroundingLines, IProgressMonitor pm) abstract String
TextEditBasedChange.getCurrentContent
(IRegion region, boolean expandRegionToFullLine, int surroundingLines, IProgressMonitor pm) Returns the current content of the text edit change clipped to a specific region.final String
MultiStateTextFileChange.getPreviewContent
(TextEditBasedChangeGroup[] groups, IRegion region, boolean expand, int surround, IProgressMonitor monitor) TextChange.getPreviewContent
(TextEditBasedChangeGroup[] changeGroups, IRegion region, boolean expandRegionToFullLine, int surroundingLines, IProgressMonitor pm) Returns a preview of the text change clipped to a specific region.TextChange.getPreviewContent
(TextEditChangeGroup[] changeGroups, IRegion region, boolean expandRegionToFullLine, int surroundingLines, IProgressMonitor pm) Returns a preview of the text change clipped to a specific region.abstract String
TextEditBasedChange.getPreviewContent
(TextEditBasedChangeGroup[] changeGroups, IRegion region, boolean expandRegionToFullLine, int surroundingLines, IProgressMonitor pm) Returns a preview of the text edit change clipped to a specific region.ModifierConstructorDescriptionFileStatusContext
(IFile file, IRegion region) Creates an status entry context for the given file and source region. -
Uses of IRegion in org.eclipse.ltk.ui.refactoring
Modifier and TypeMethodDescriptionabstract IRegion
LanguageElementNode.getTextRange()
Returns the text region the of this language element node. -
Uses of IRegion in org.eclipse.search.ui.text
Modifier and TypeMethodDescriptionAbstractTextSearchViewPage.getCurrentMatchLocation
(Match match) Returns the current location of the match. -
Uses of IRegion in org.eclipse.text.edits
Modifier and TypeMethodDescriptionstatic IRegion
TextEdit.getCoverage
(TextEdit[] edits) Returns the text range spawned by the given array of text edits.final IRegion
TextEdit.getRegion()
Returns the range that this edit is manipulating.TextEditGroup.getRegion()
Returns the text region covered by the edits managed via this edit group.static IRegion
-
Uses of IRegion in org.eclipse.ui.console
Modifier and TypeMethodDescriptionTextConsole.getRegion
(IHyperlink link) Returns the region associated with the given hyperlink. -
Uses of IRegion in org.eclipse.ui.texteditor
Modifier and TypeMethodDescriptionprotected static final 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.AbstractTextEditor.getHighlightRange()
ITextEditor.getHighlightRange()
Returns the highlighted range of this text editor. -
Uses of IRegion in org.eclipse.ui.texteditor.spelling
Modifier and TypeMethodDescriptionvoid
ISpellingEngine.check
(IDocument document, IRegion[] regions, SpellingContext context, ISpellingProblemCollector collector, IProgressMonitor monitor) Checks the given regions in the given document.void
SpellingService.check
(IDocument document, IRegion[] regions, SpellingContext context, ISpellingProblemCollector collector, IProgressMonitor monitor) Checks the given regions in the given document.void
void
SpellingReconcileStrategy.reconcile
(DirtyRegion dirtyRegion, IRegion subRegion)