void (@NotNull final Editor editor, Caret caret, final DataContext dataContext) { LookupImpl lookup = (LookupImpl)LookupManager.getActiveLookup(editor); if (lookup == null){ myOriginalHandler.execute(editor, caret, dataContext); return; } int hideOffset = lookup.getLookupStart(); int originalStart = lookup.getLookupOriginalStart(); if (originalStart >= 0 && originalStart <= hideOffset) { hideOffset = originalStart - 1; } truncatePrefix(dataContext, lookup, myOriginalHandler, hideOffset, caret); }