return result;
}
private static class MyListener implements FocusListener, CaretListener {
private final Editor myEditor;
private final RangeHighlighter mySegmentHighlighter;
<BUG>public MyListener(Editor editor, RangeHighlighter segmentHighlighter) {
</BUG>
myEditor = editor;
mySegmentHighlighter = segmentHighlighter;
}

return result;
}
private static class MyListener implements FocusListener, CaretListener {
private final Editor myEditor;
private final RangeHighlighter mySegmentHighlighter;
private MyListener(Editor editor, RangeHighlighter segmentHighlighter) {
myEditor = editor;
mySegmentHighlighter = segmentHighlighter;
}
