ColorKey (int line, Editor editor) { int currentLine = myGetUpToDateLineNumber.getLineNumber(line); if (!canBeAnnotated(currentLine)) return AnnotationSource.LOCAL.getColor(); return myDelegate.getColor(currentLine, editor); }