public interface IndentTask
Context.getLookup()
.Modifier and Type | Interface and Description |
---|---|
static interface |
IndentTask.Factory
Indent task factory produces indent tasks for the given context.
|
Modifier and Type | Method and Description |
---|---|
ExtraLock |
indentLock()
Get an extra locking or null if no extra locking is necessary.
|
void |
reindent()
Perform reindentation of the line(s) of
Context.document()
between Context.startOffset() and Context.endOffset() . |
void reindent() throws BadLocationException
Context.document()
between Context.startOffset()
and Context.endOffset()
.
BadLocationException
- in case the indent task attempted to insert/remove
at an invalid offset or e.g. into a guarded section.ExtraLock indentLock()