org.radrails.rails.internal.ui.editors
Class WordPartDetector

java.lang.Object
  extended byorg.radrails.rails.internal.ui.editors.WordPartDetector

public class WordPartDetector
extends java.lang.Object

Used to scan and detect for Ruby keywords

Version:
0.4
Author:
mbaumbach

Constructor Summary
WordPartDetector(org.eclipse.jface.text.ITextViewer viewer, int documentOffset)
          Method WordPartDetector.
 
Method Summary
 int getOffset()
          Get the document offset.
 java.lang.String getString()
          Method getString.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WordPartDetector

public WordPartDetector(org.eclipse.jface.text.ITextViewer viewer,
                        int documentOffset)
Method WordPartDetector.

Parameters:
viewer - is a text viewer
documentOffset - into the SQL document
Method Detail

getString

public java.lang.String getString()
Method getString.

Returns:
String

getOffset

public int getOffset()
Get the document offset.

Returns:
The document offset.