Methods in
org.eclipse.jface.text.source with parameters of type
ISourceViewer
|
protected
Point
|
LineChangeHover.
computeLineRange
(
ISourceViewer viewer,
int line,
int min,
int max)
Computes the block of lines which form a contiguous block of changes covering line . |
protected
IAnnotationModel
|
AnnotationPainter.
findAnnotationModel
(
ISourceViewer sourceViewer)
Retrieves the annotation model from the given source viewer. |
IAnnotationHover
|
SourceViewerConfiguration.
getAnnotationHover
(
ISourceViewer sourceViewer)
Returns the annotation hover which will provide the information to be
shown in a hover popup window when requested for the given
source viewer. |
IAutoEditStrategy[]
|
SourceViewerConfiguration.
getAutoEditStrategies
(
ISourceViewer sourceViewer,
String contentType)
Returns the auto edit strategies ready to be used with the given source viewer
when manipulating text of the given content type. |
IAutoIndentStrategy
|
SourceViewerConfiguration.
getAutoIndentStrategy
(
ISourceViewer sourceViewer,
String contentType)
Deprecated. since 3.1 use
SourceViewerConfiguration.getAutoEditStrategies(ISourceViewer, String) instead
|
String[]
|
SourceViewerConfiguration.
getConfiguredContentTypes
(
ISourceViewer sourceViewer)
Returns all configured content types for the given source viewer. |
String
|
SourceViewerConfiguration.
getConfiguredDocumentPartitioning
(
ISourceViewer sourceViewer)
Returns the configured partitioning for the given source viewer. |
int[]
|
SourceViewerConfiguration.
getConfiguredTextHoverStateMasks
(
ISourceViewer sourceViewer,
String contentType)
Returns the SWT event state masks for which text hover are configured for
the given content type. |
IContentAssistant
|
SourceViewerConfiguration.
getContentAssistant
(
ISourceViewer sourceViewer)
Returns the content assistant ready to be used with the given source viewer. |
IContentFormatter
|
SourceViewerConfiguration.
getContentFormatter
(
ISourceViewer sourceViewer)
Returns the content formatter ready to be used with the given source viewer. |
String[]
|
SourceViewerConfiguration.
getDefaultPrefixes
(
ISourceViewer sourceViewer,
String contentType)
Returns the default prefixes to be used by the line-prefix operation
in the given source viewer for text of the given content type. |
ITextDoubleClickStrategy
|
SourceViewerConfiguration.
getDoubleClickStrategy
(
ISourceViewer sourceViewer,
String contentType)
Returns the double-click strategy ready to be used in this viewer when double clicking
onto text of the given content type. |
Object
|
IAnnotationHoverExtension.
getHoverInfo
(
ISourceViewer sourceViewer,
ILineRange lineRange,
int visibleNumberOfLines)
Returns the object which should be presented in the a
hover popup window. |
Object
|
LineChangeHover.
getHoverInfo
(
ISourceViewer sourceViewer,
ILineRange lineRange,
int visibleLines)
|
String
|
IAnnotationHover.
getHoverInfo
(
ISourceViewer sourceViewer,
int lineNumber)
Returns the text which should be presented in the a
hover popup window. |
String
|
DefaultAnnotationHover.
getHoverInfo
(
ISourceViewer sourceViewer,
int lineNumber)
|
String
|
LineChangeHover.
getHoverInfo
(
ISourceViewer sourceViewer,
int lineNumber)
|
ILineRange
|
IAnnotationHoverExtension.
getHoverLineRange
(
ISourceViewer viewer,
int lineNumber)
Returns the range of lines that include the given line number for which
the same hover information is valid. |
ILineRange
|
LineChangeHover.
getHoverLineRange
(
ISourceViewer viewer,
int lineNumber)
|
IHyperlinkDetector[]
|
SourceViewerConfiguration.
getHyperlinkDetectors
(
ISourceViewer sourceViewer)
Returns the hyperlink detectors which be used to detect hyperlinks
in the given source viewer. |
IHyperlinkPresenter
|
SourceViewerConfiguration.
getHyperlinkPresenter
(
ISourceViewer sourceViewer)
Returns the hyperlink presenter for the given source viewer. |
int
|
SourceViewerConfiguration.
getHyperlinkStateMask
(
ISourceViewer sourceViewer)
Returns the SWT event state mask which in combination
with the left mouse button activates hyperlinking. |
String[]
|
SourceViewerConfiguration.
getIndentPrefixes
(
ISourceViewer sourceViewer,
String contentType)
Returns the prefixes to be used by the line-shift operation. |
IInformationControlCreator
|
SourceViewerConfiguration.
getInformationControlCreator
(
ISourceViewer sourceViewer)
Returns the information control creator. |
IInformationPresenter
|
SourceViewerConfiguration.
getInformationPresenter
(
ISourceViewer sourceViewer)
Returns the information presenter which will determine and shown
information requested for the current cursor position. |
IAnnotationHover
|
SourceViewerConfiguration.
getOverviewRulerAnnotationHover
(
ISourceViewer sourceViewer)
Returns the annotation hover which will provide the information to be
shown in a hover popup window when requested for the overview ruler
of the given source viewer.This implementation always returns the general
annotation hover returned by getAnnotationHover . |
IPresentationReconciler
|
SourceViewerConfiguration.
getPresentationReconciler
(
ISourceViewer sourceViewer)
Returns the presentation reconciler ready to be used with the given source viewer. |
IQuickAssistAssistant
|
SourceViewerConfiguration.
getQuickAssistAssistant
(
ISourceViewer sourceViewer)
Returns the quick assist assistant ready to be used with the given
source viewer. |
IReconciler
|
SourceViewerConfiguration.
getReconciler
(
ISourceViewer sourceViewer)
Returns the reconciler ready to be used with the given source viewer. |
int
|
SourceViewerConfiguration.
getTabWidth
(
ISourceViewer sourceViewer)
Returns the visual width of the tab character. |
ITextHover
|
SourceViewerConfiguration.
getTextHover
(
ISourceViewer sourceViewer,
String contentType)
Returns the text hover which will provide the information to be shown
in a text hover popup window when requested for the given source viewer and
the given content type. |
ITextHover
|
SourceViewerConfiguration.
getTextHover
(
ISourceViewer sourceViewer,
String contentType,
int stateMask)
Returns the text hover which will provide the information to be shown
in a text hover popup window when requested for the given source viewer and
the given content type. |
IUndoManager
|
SourceViewerConfiguration.
getUndoManager
(
ISourceViewer sourceViewer)
Returns the undo manager for the given source viewer. |