Package | Description |
---|---|
org.netbeans.spi.editor.typinghooks |
The Typing Hooks SPI allows modules to intercept various key typed events
handled by the editor infrastructure.
|
Modifier and Type | Class and Description |
---|---|
static class |
TypedBreakInterceptor.MutableContext
This context class allows to modify the insertion text and the caret position
after the text is inserted into a document.
|
Modifier and Type | Method and Description |
---|---|
void |
TypedBreakInterceptor.afterInsert(TypedBreakInterceptor.Context context)
This method is called after the text is inserted into a document and its editor's
caret is adjusted.
|
boolean |
TypedBreakInterceptor.beforeInsert(TypedBreakInterceptor.Context context)
This method is called before any text is inserted into a document.
|
void |
TypedBreakInterceptor.cancelled(TypedBreakInterceptor.Context context)
This method is called when the normal processing is terminated by some
interceptor's
beforeInsert method. |