org.radrails.rails.internal.ui.editors.ruby
Class RubySourceViewerConfiguration
java.lang.Object
org.eclipse.jface.text.source.SourceViewerConfiguration
org.radrails.rails.internal.ui.editors.ruby.RubySourceViewerConfiguration
- public class RubySourceViewerConfiguration
- extends org.eclipse.jface.text.source.SourceViewerConfiguration
Source viewer configuration for the Ruby source editor. Content is of only
one type, IDocument.DEFAULT_CONTENT_TYPE
. Uses a
RubyCodeScanner
to scan the content.
- Author:
- mkent
Method Summary |
java.lang.String[] |
getConfiguredContentTypes(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
|
java.lang.String |
getConfiguredDocumentPartitioning(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
|
org.eclipse.jface.text.contentassist.IContentAssistant |
getContentAssistant(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
|
org.eclipse.jface.text.presentation.IPresentationReconciler |
getPresentationReconciler(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
|
int |
getTabWidth(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
|
Methods inherited from class org.eclipse.jface.text.source.SourceViewerConfiguration |
getAnnotationHover, getAutoEditStrategies, getAutoIndentStrategy, getConfiguredTextHoverStateMasks, getContentFormatter, getDefaultPrefixes, getDoubleClickStrategy, getHyperlinkDetectors, getHyperlinkPresenter, getHyperlinkStateMask, getIndentPrefixes, getInformationControlCreator, getInformationPresenter, getOverviewRulerAnnotationHover, getReconciler, getTextHover, getTextHover, getUndoManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RubySourceViewerConfiguration
public RubySourceViewerConfiguration()
getConfiguredDocumentPartitioning
public java.lang.String getConfiguredDocumentPartitioning(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getConfiguredContentTypes
public java.lang.String[] getConfiguredContentTypes(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getPresentationReconciler
public org.eclipse.jface.text.presentation.IPresentationReconciler getPresentationReconciler(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getContentAssistant
public org.eclipse.jface.text.contentassist.IContentAssistant getContentAssistant(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getTabWidth
public int getTabWidth(org.eclipse.jface.text.source.ISourceViewer sourceViewer)