Package org.fife.ui.rsyntaxtextarea
Interface ActiveLineRangeListener
-
- All Superinterfaces:
EventListener
public interface ActiveLineRangeListener extends EventListener
Listens for "active line range" events from anRSyntaxTextArea
. If a text area contains some semantic knowledge of the programming language being edited, it may broadcastActiveLineRangeEvent
s whenever the caret moves into a new "block" of code. Listeners can listen for these events and respond accordingly.See the
RSTALanguageSupport
project at http://fifesoft.com for someLanguageSupport
implementations that may broadcast these events. Note that if an RSTA/LanguageSupport does not support broadcasting these events, the listener will simply never receive any notifications.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
activeLineRangeChanged(ActiveLineRangeEvent e)
Called whenever the "active line range" changes.
-
-
-
Method Detail
-
activeLineRangeChanged
void activeLineRangeChanged(ActiveLineRangeEvent e)
Called whenever the "active line range" changes.- Parameters:
e
- Information about the line range change. If there is no longer an "active line range," the "minimum" and "maximum" line values should both be-1
.
-
-