check cancelling by cdr

This commit is contained in:
Dmitry Avdeev
2009-12-22 14:25:08 +03:00
parent e4349f7b88
commit 68bd7191c1
@@ -72,6 +72,7 @@ public class TextSplitter {
List<CheckArea> results = new ArrayList<CheckArea>();
String[] pieces = text.substring(i).split(WORD_SPLITTER);
for (String s : pieces) {
// ProgressManager.checkCanceled();
if (s.length() > 0) {
int p1 = text.indexOf(s, i);
TextRange range = TextRange.from(p1, s.length());