void (DocumentEvent event, boolean processAlsoLineEnd) { LOG.assertTrue(myDocumentChangedEvent != null); recalculate(myDocumentChangedEvent); if (processAlsoLineEnd) { int lineEndOffset = DocumentUtil.getLineEndOffset(myDocumentChangedEvent.getMandatoryEndOffset(), event.getDocument()); if (lineEndOffset > myDocumentChangedEvent.getActualEndOffset()) { recalculate(new IncrementalCacheUpdateEvent(lineEndOffset, lineEndOffset, myEditor)); } } myDocumentChangedEvent = null; }