edu.princeton.toy
public class TUncommentingAutoCompleter extends IndentingAutoCompleter
Constructor and Description |
---|
TUncommentingAutoCompleter() |
Modifier and Type | Method and Description |
---|---|
boolean |
interceptKeyEvent(PHighlightedTextArea comp,
java.awt.event.KeyEvent e)
The PHighlightedTextArea will pass all key events to its auto-completer before processing
the event for itself.
|
public boolean interceptKeyEvent(PHighlightedTextArea comp, java.awt.event.KeyEvent e)
interceptKeyEvent
in interface AutoCompleter
interceptKeyEvent
in class IndentingAutoCompleter
comp
- The component which recieved the KeyEvent.e
- The event which occurred.