boolean (Runnable change) { checkValid(); myEditor.getDocument().startGuardedBlockChecking(); myGuardedChanges++; boolean result; try { result = myOffsets.performGuardedChange(change); } finally { myEditor.getDocument().stopGuardedBlockChecking(); myGuardedChanges--; } if (!result || isLookupDisposed()) { hideLookup(false); return false; } if (isVisible() && myEditor.getContentComponent().isShowing()) { HintManagerImpl.updateLocation(this, myEditor, myUi.calculatePosition().getLocation()); } checkValid(); return true; }