public class Word
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContext()
Return the context.
|
int |
getContextOffset()
Return the context offset.
|
SyntaxDocument |
getDocument()
Return the document.
|
Word |
getNextWord(boolean crossLineBoundaries)
Return the next word.
|
Word |
getPreviousWord(boolean crossLineBoundaries)
Return the previous word.
|
Token |
getToken()
Return the Token.
|
java.lang.String |
getWord()
Return the word.
|
int |
getWordLength()
Return the word length.
|
int |
getWordOffset()
Return the word offset.
|
boolean |
isEndOfLine()
Return true if the word is at the end of a line.
|
boolean |
isStartOfLine()
Return true if the word is at the start of a line.
|
public SyntaxDocument getDocument()
public int getContextOffset()
public int getWordOffset()
public int getWordLength()
public Token getToken()
public java.lang.String getContext()
public java.lang.String getWord()
public boolean isStartOfLine()
public boolean isEndOfLine()
public Word getPreviousWord(boolean crossLineBoundaries)
crossLineBoundaries
- true if line boundaries can be crossedpublic Word getNextWord(boolean crossLineBoundaries)
crossLineBoundaries
- true if line boundaries can be crossedCopyright © 2016, 2017, 2018, 2019, 2023 Herve Girod. All Rights Reserved. Documentation and source under the MIT licence