public class SelectRegionLinkGeneratorResult extends java.lang.Object implements LinkGeneratorResult
LinkGenerator
Constructor and Description |
---|
SelectRegionLinkGeneratorResult(RSyntaxTextArea textArea,
int sourceOffset,
int selStart,
int selEnd) |
Modifier and Type | Method and Description |
---|---|
javax.swing.event.HyperlinkEvent |
execute()
Selects the text in the text area.
|
int |
getSourceOffset()
Returns the starting offset of the link specified by the parent
LinkGenerator . |
public SelectRegionLinkGeneratorResult(RSyntaxTextArea textArea, int sourceOffset, int selStart, int selEnd)
public javax.swing.event.HyperlinkEvent execute()
execute
in interface LinkGeneratorResult
null
if the action's behavior occurs in this method
directly.public int getSourceOffset()
LinkGenerator
.getSourceOffset
in interface LinkGeneratorResult