站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

TextBatchProcessor (Editor Library) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor.lib/1 1.14.0 3

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/1 1.14.0 3

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.