int startIndex = textEditor.textPane.viewToModel(new Point(clip.x, clip.y));
int endIndex = textEditor.textPane.viewToModel(new Point(clip.x+clip.width, clip.y+clip.height));
items.clear();
if(textEditor.gutterColumnsManager != null) {
ATEGutterColumnManager manager = textEditor.gutterColumnsManager;
int offsetX = offsetForLineNumber;
for(String column : manager.getColumns()) {
for (ATEGutterItem item : manager.getGutterItems(column)) {
int index = item.getItemIndex();
if (index >= startIndex && index <= endIndex) {
int y = getLineYPixelPosition(item.getItemIndex());
int width = item.getItemWidth();
int height = item.getItemHeight();
Rectangle r = new Rectangle(offsetX, y - height / 2, width, height);
this.items.add(new ItemInfo(item, r));
}
}
offsetX += manager.getColumnWidth(column);
}
}
foldingInfos.clear();
if(textEditor.foldingManager != null) {