public interface ReformatTask
Context.getLookup().| Modifier and Type | Interface and Description |
|---|---|
static interface |
ReformatTask.Factory
Reformat task factory produces reformat tasks for the given context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
reformat()
Perform reformatting of the
Context.document()
between Context.startOffset() and Context.endOffset(). |
ExtraLock |
reformatLock()
Get an extra locking or null if no extra locking is necessary.
|
void reformat()
throws BadLocationException
Context.document()
between Context.startOffset() and Context.endOffset().
BadLocationException - in case the formatter attempted to insert/remove
at an invalid offset or e.g. into a guarded section.ExtraLock reformatLock()
Built on May 22 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.