if (candidate.getStartOffset() == foldStartOffset && candidate.getEndOffset() == foldEndOffset) {
region = candidate;
break;
}
}
<BUG>foldRegions.add(new Pair<Integer, FoldRegion>(widthInColumns, region));
}
List<Pair<Integer, Integer>> tabData = new ArrayList<Pair<Integer, Integer>>();
Scanner tabScanner = new Scanner(generalMatch.group(10));</BUG>
while (tabScanner.findInLine(tabPattern) != null) {

if (candidate.getStartOffset() == foldStartOffset && candidate.getEndOffset() == foldEndOffset) {
region = candidate;
break;
}
}
foldRegions.add(new Pair<>(widthInColumns, region));
}
List<Pair<Integer, Integer>> tabData = new ArrayList<>();
Scanner tabScanner = new Scanner(generalMatch.group(10));
while (tabScanner.findInLine(tabPattern) != null) {
