org.netbeans.modules.editor.lib/3 3.23.0 19

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.


Method Summary
 int processTextBatch(BaseDocument doc, int startPos, int endPos, boolean lastBatch)
          Process one batch of the text.
 

Method Detail

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.

org.netbeans.modules.editor.lib/3 3.23.0 19

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.