edu.princeton.toy
public class TCommentingAutoCompleter extends TUncommentingAutoCompleter
Constructor and Description |
---|
TCommentingAutoCompleter() |
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 TUncommentingAutoCompleter
comp
- The component which recieved the KeyEvent.e
- The event which occurred.