当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
TextBatchProcessor (Editor Library) - NetBeans API Javadoc (Current Development Version)
org.netbeans.editor
Interface TextBatchProcessor
public interface TextBatchProcessor
Process the batches of the text in the document. This interface
can be passed to the BaseDocument.processText() and this method
then calls the processTextBatch() to process the text batches.
processTextBatch
int processTextBatch(BaseDocument doc,
int startPos,
int endPos,
boolean lastBatch)
- Process one batch of the text.
- Returns:
- non-negative number to stop the batch processing. The returned
value is remembered and returned from BaseDocument.processText().
Negative value means to continue with the next batch.