public class UnoidlDoubleClickStrategy
extends java.lang.Object
implements org.eclipse.jface.text.ITextDoubleClickStrategy
| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.jface.text.ITextViewer |
mText |
| Constructor and Description |
|---|
UnoidlDoubleClickStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
doubleClicked(org.eclipse.jface.text.ITextViewer pPart) |
protected boolean |
selectComment(int pCaretPos)
Test if the caret is positioned in a comment partition.
|
protected boolean |
selectWord(int pCaretPos)
Test if the caret is positioned in a word partition.
|
public void doubleClicked(org.eclipse.jface.text.ITextViewer pPart)
doubleClicked in interface org.eclipse.jface.text.ITextDoubleClickStrategyprotected boolean selectComment(int pCaretPos)
pCaretPos - the caret positiontrue if the cursor is in a comment, false otherwiseprotected boolean selectWord(int pCaretPos)
pCaretPos - the caret positiontrue if the cursor is in a word, false ortherwise