void (@NotNull PsiElement element) { String leafText = InjectedLanguageUtilBase.getUnescapedLeafText(element, false); if (leafText != null) { unescapedOffset += leafText.length(); escapedOffset += element.getTextLength(); if (unescapedOffset >= offset) { escapedOffset -= unescapedOffset - offset; stopWalking(); } } super.visitElement(element); }