Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
251,800
void (boolean isEnabled) { myDelegate.setStripTrailingSpacesEnabled(isEnabled); }
setStripTrailingSpacesEnabled
251,801
int (int line) { return myDelegate.getLineSeparatorLength(injectedToHostLine(line)); }
getLineSeparatorLength
251,802
LineIterator () { return myDelegate.createLineIterator(); }
createLineIterator
251,803
void (long modificationStamp) { myDelegate.setModificationStamp(modificationStamp); }
setModificationStamp
251,804
void (@NotNull EditReadOnlyListener listener) { myDelegate.addEditReadOnlyListener(listener); }
addEditReadOnlyListener
251,805
void (@NotNull EditReadOnlyListener listener) { myDelegate.removeEditReadOnlyListener(listener); }
removeEditReadOnlyListener
251,806
void (@NotNull CharSequence chars, long newModificationStamp) { setText(chars); myDelegate.setModificationStamp(newModificationStamp); }
replaceText
251,807
void () { myDelegate.suppressGuardedExceptions(); }
suppressGuardedExceptions
251,808
void () { myDelegate.unSuppressGuardedExceptions(); }
unSuppressGuardedExceptions
251,809
boolean () { return myDelegate.isInEventsHandling(); }
isInEventsHandling
251,810
boolean (@NotNull RangeMarkerEx rangeMarker) { return myDelegate.removeRangeMarker(((RangeMarkerWindow)rangeMarker).getDelegate()); }
removeRangeMarker
251,811
void (@NotNull RangeMarkerEx rangeMarker, int start, int end, boolean greedyToLeft, boolean greedyToRight, int layer) { throw new IllegalStateException(); }
registerRangeMarker
251,812
DocumentEx () { return myDelegate; }
getDelegate
251,813
int (int hostOffset) { synchronized (myLock) { Segment hostRangeMarker = myShreds.get(0).getHostRangeMarker(); if (hostRangeMarker == null || hostOffset < hostRangeMarker.getStartOffset()) return myShreds.get(0).getPrefix().length(); int offset = 0; for (int i = 0; i < myShreds.size(); i++) { offset += myShreds.get(i)....
hostToInjected
251,814
int (int offset) { int offsetInLeftFragment = injectedToHost(offset, true, false); int offsetInRightFragment = injectedToHost(offset, false, false); if (offsetInLeftFragment == offsetInRightFragment) return offsetInLeftFragment; // heuristics: return offset closest to the caret Editor editor = EditorFactory.getInstance...
injectedToHost
251,815
int (int injectedOffset, boolean minHostOffset) { return injectedToHost(injectedOffset, minHostOffset, true); }
injectedToHost
251,816
int (int offset, boolean preferLeftFragment, boolean skipEmptyShreds) { synchronized (myLock) { if (offset < myShreds.get(0).getPrefix().length()) { Segment hostRangeMarker = myShreds.get(0).getHostRangeMarker(); return hostRangeMarker == null ? 0 : hostRangeMarker.getStartOffset(); } int prevEnd = 0; //noinspection Fo...
injectedToHost
251,817
ProperTextRange (@NotNull TextRange injected) { int start = injectedToHost(injected.getStartOffset(), false, true); ProperTextRange fixedTextRange = getFixedTextRange(start); if (fixedTextRange != null) { return fixedTextRange; } int end = injectedToHost(injected.getEndOffset(), true, true); if (end < start) { end = in...
injectedToHost
251,818
int (int line) { if (line < myPrefixLineCount) { synchronized (myLock) { Segment hostRangeMarker = myShreds.get(0).getHostRangeMarker(); return hostRangeMarker == null ? 0 : myDelegate.getLineNumber(hostRangeMarker.getStartOffset()); } } int lineCount = getLineCount(); if (line > lineCount - mySuffixLineCount) { return...
injectedToHostLine
251,819
boolean (int hostStart, int hostEnd) { synchronized (myLock) { ProperTextRange query = new ProperTextRange(hostStart, hostEnd); for (PsiLanguageInjectionHost.Shred shred : myShreds) { Segment hostRange = shred.getHostRangeMarker(); if (hostRange == null) continue; TextRange textRange = ProperTextRange.create(hostRange)...
containsRange
251,820
String (@NotNull String hostText, int hostNum) { synchronized (myLock) { PsiLanguageInjectionHost.Shred shred = myShreds.get(hostNum); Segment hostRangeMarker = shred.getHostRangeMarker(); return shred.getPrefix() + (hostRangeMarker == null ? "" : hostText.substring(hostRangeMarker.getStartOffset(), hostRangeMarker.get...
getRangeText
251,821
void (String hostText, String newText, String[] result, int i, int j) { synchronized (myLock) { String rangeText1 = getRangeText(hostText, i); if (i == j) { result[i] = rangeText1.equals(newText) ? null : newText; return; } if (StringUtil.startsWith(newText, rangeText1)) { result[i] = null; //no change calculateMinEdit...
calculateMinEditSequence
251,822
boolean (@NotNull DocumentWindow other) { DocumentWindowImpl window = (DocumentWindowImpl)other; Place shreds = getShreds(); Place otherShreds = window.getShreds(); if (shreds.size() != otherShreds.size()) return false; for (int i = 0; i < shreds.size(); i++) { PsiLanguageInjectionHost.Shred shred = shreds.get(i); PsiL...
areRangesEqual
251,823
boolean () { Place shreds; synchronized (myLock) { shreds = myShreds; // assumption: myShreds list is immutable } return ReadActionCache.getInstance().allowInWriteAction( () -> { // can grab PsiLock in SmartPsiPointer.restore() // will check the 0th element manually (to avoid getting .getHost() twice) for (int i = 1; i...
isValid
251,824
boolean (Object o) { if (!(o instanceof DocumentWindowImpl window)) return false; return myDelegate.equals(window.getDelegate()) && areRangesEqual(window); }
equals
251,825
int () { synchronized (myLock) { Segment hostRangeMarker = myShreds.get(0).getHostRangeMarker(); return hostRangeMarker == null ? -1 : hostRangeMarker.getStartOffset(); } }
hashCode
251,826
boolean () { return myOneLine; }
isOneLine
251,827
void () { synchronized (myLock) { myShreds.dispose(); } }
dispose
251,828
boolean (@NotNull Processor<? super RangeMarker> processor) { return myDelegate.processRangeMarkers(processor); }
processRangeMarkers
251,829
boolean (int start, int end, @NotNull Processor<? super RangeMarker> processor) { return myDelegate.processRangeMarkersOverlappingWith(start, end, processor); }
processRangeMarkersOverlappingWith
251,830
String () { return "DocumentWindow (delegate="+getDelegate()+")"; }
toString
251,831
InjectionResult () { return this; }
get
251,832
long () { return (myHostFile.getModificationStamp() << 32) + myHostFile.getManager().getModificationTracker().getModificationCount(); }
calcModCount
251,833
T[] (@NotNull Class<?> aClass, @Nullable List<T> result) { T[] value; if (result == null) { myMap.put(aClass, myEmptyArray); value = null; } else { assert !result.isEmpty(); value = result.toArray(myEmptyArray); myMap.put(aClass, value); } return value; }
cache
251,834
MultiHostRegistrar (@NotNull Language language) { return startInjecting(language, null); }
startInjecting
251,835
MultiHostRegistrar (@NotNull Language language, @Nullable String extension) { fileExtension = extension; placeInfos = new SmartList<>(); if (!cleared) { clear(); throw new IllegalStateException("Seems you haven't called doneInjecting()"); } currentThread = Thread.currentThread(); if (LanguageParserDefinitions.INSTANCE....
startInjecting
251,836
void () { fileExtension = null; myLanguage = null; cleared = true; placeInfos = null; currentThread = null; }
clear
251,837
MultiHostRegistrar (@NonNls @Nullable String prefix, @NonNls @Nullable String suffix, @NotNull PsiLanguageInjectionHost host, @NotNull TextRange rangeInsideHost) { checkThreading(); if (myLanguage == null) { clear(); throw new IllegalStateException("Seems you haven't called startInjecting()"); } if (!host.isValidHost()...
addPlace
251,838
void () { if (currentThread != Thread.currentThread()) { throw new IllegalStateException("Wow, you must not start injecting in one thread ("+currentThread+") and finish in the other ("+Thread.currentThread()+")"); } }
checkThreading
251,839
void (@NotNull PlaceInfo info, @NotNull StringBuilder outChars) { int startOffset = outChars.length(); outChars.append(info.prefix); LiteralTextEscaper<? extends PsiLanguageInjectionHost> textEscaper = info.myEscaper; TextRange relevantRange = info.getRelevantRangeInsideHost(); if (relevantRange == null) { relevantRang...
decode
251,840
ShredImpl (@NotNull PlaceInfo info, @NotNull StringBuilder outChars, @NotNull PsiFile hostPsiFile) { decode(info, outChars); TextRange relevantRange = info.rangeInHostElement; TextRange hostTextRange = info.host.getTextRange(); TextRange relevantRangeInHostFile = relevantRange.shiftRight(hostTextRange.getStartOffset())...
createShred
251,841
void () { checkThreading(); try { if (myLanguage == null) { throw new IllegalStateException("Seems you haven't called startInjecting()"); } if (placeInfos.isEmpty()) { throw new IllegalStateException("Seems you haven't called addPlace()"); } Language forcedLanguage = myContextElement.getUserData(SingleRootInjectedFileV...
doneInjecting
251,842
void (@NotNull List<PlaceInfo> placeInfos, @NotNull PsiElement contextElement, @NotNull Language language, @NotNull PsiFile hostPsiFile, @NotNull VirtualFile hostVirtualFile, @NotNull DocumentEx hostDocument, @NotNull PsiDocumentManagerBase documentManager) { boolean isAncestor = false; for (PlaceInfo info : placeInfos...
checkForCorrectContextElement
251,843
void (Language forcedLanguage) { StringBuilder decodedChars = new StringBuilder(); Place place = new Place(); for (PlaceInfo info : placeInfos) { ShredImpl shred = createShred(info, decodedChars, myHostPsiFile); place.add(shred); info.newInjectionHostRange = shred.getSmartPointer().getRange(); } DocumentWindowImpl docu...
createAndRegisterInjected
251,844
PsiFile (@NotNull PsiFile hostPsiFile, @NotNull PsiDocumentManagerBase documentManager, @NotNull Place place, @NotNull DocumentWindowImpl documentWindow, @NotNull PsiFile psiFile, @NotNull InjectedFileViewProvider viewProvider) { cacheEverything(place, documentWindow, viewProvider, psiFile); VirtualFile virtualFile = F...
createOrMergeInjectedFile
251,845
boolean (@NotNull Place place, @NotNull DocumentWindowImpl documentWindow, @NotNull InjectedFileViewProvider viewProvider, @NotNull PsiFile psiFile) { FileDocumentManagerBase.registerDocument(documentWindow, viewProvider.getVirtualFile()); DebugUtil.performPsiModification("MultiHostRegistrar cacheEverything", () -> vie...
cacheEverything
251,846
ASTNode (@NotNull PsiFile psiFile) { // need to keep tree reachable to avoid being garbage-collected (via WeakReference in PsiFileImpl) // and then being reparsed from wrong (escaped) document content ASTNode node = psiFile.getNode(); // expand chameleons ASTNode child = node.getFirstChildNode(); assert !TreeUtil.isCol...
keepTreeFromChameleoningBack
251,847
void (@NotNull PsiDocumentManagerBase documentManager, @NotNull DocumentWindowImpl documentWindow, @NotNull PsiFile psiFile) { InjectedFileViewProvider injectedFileViewProvider = (InjectedFileViewProvider)psiFile.getViewProvider(); assert injectedFileViewProvider.isValid() : "Invalid view provider: "+injectedFileViewPr...
assertEverythingIsAllright
251,848
void (@NotNull PsiFile psiFile) { if (resultFiles == null) { resultFiles = new SmartList<>(); } resultFiles.add(psiFile); }
addFileToResults
251,849
void (@NotNull Pair<ReferenceInjector, Place> pair) { if (resultReferences == null) { resultReferences = new SmartList<>(); } resultReferences.add(pair); }
addReferenceToResults
251,850
PsiFile (@NotNull DocumentWindowImpl newDocumentWindow, @NotNull PsiFile newInjectedPsi, @NotNull Place shreds, @NotNull PsiFile hostPsiFile, @NotNull PsiDocumentManager documentManager) { List<DocumentWindow> injected = InjectedLanguageUtilBase.getCachedInjectedDocuments(hostPsiFile); for (int i = injected.size()-1; i...
registerDocument
251,851
void (@NotNull PsiFile oldFile, @NotNull ASTNode oldFileNode, @NotNull PsiFile injectedPsi, @NotNull ASTNode injectedNode) { if (!oldFile.textMatches(injectedPsi)) { InjectedFileViewProvider oldViewProvider = (InjectedFileViewProvider)oldFile.getViewProvider(); oldViewProvider.performNonPhysically(() -> DebugUtil.perfo...
mergePsi
251,852
BooleanRunnable (@NotNull Language language, @NotNull DocumentWindowImpl oldDocumentWindow, @NotNull PsiFile oldInjectedPsi, @NotNull VirtualFileWindow oldInjectedVirtualFile, @NotNull VirtualFile hostVirtualFile, @NotNull PsiFile hostPsiFile, @NotNull DocumentEx hostDocument, @NotNull ProgressIndicator indicator, @Not...
reparse
251,853
PsiLanguageInjectionHost (@NotNull PsiFile hostPsiFile, @NotNull ASTNode oldRoot, @NotNull ASTNode newRoot, @NotNull PsiLanguageInjectionHost oldInjectionHost, @NotNull Segment newInjectionHostRange) { TextRange oldRootRange = oldRoot.getTextRange(); TextRange newRootRange = newRoot.getTextRange(); PsiElement toLookIn;...
findNewInjectionHost
251,854
boolean (DocumentWindowImpl doc1, DocumentWindowImpl doc2) { Segment[] hostRanges1 = doc1.getHostRanges(); Segment[] hostRanges2 = doc2.getHostRanges(); // DocumentWindowImpl.getHostRanges() may theoretically return non-sorted ranges for (Segment segment1 : hostRanges1) { for (Segment segment2 : hostRanges2) { if (Math...
intersect
251,855
String () { return String.valueOf(resultFiles); }
toString
251,856
Object () { return myLock; }
getLock
251,857
boolean () { return myPatchingLeaves; }
getPatchingLeaves
251,858
FileViewProvider () { return cloneImpl(); }
clone
251,859
void (@NotNull PsiFile psiFile) { super.rootChanged(psiFile); rootChangedImpl(psiFile); }
rootChanged
251,860
boolean () { return isEventSystemEnabledImpl(); }
isEventSystemEnabled
251,861
boolean () { return isPhysicalImpl(); }
isPhysical
251,862
DocumentWindowImpl () { return myDocumentWindow; }
getDocument
251,863
void (@NotNull Runnable runnable) { myPatchingLeaves = true; try { runnable.run(); } finally { myPatchingLeaves = false; } }
doNotInterruptMeWhileImPatchingLeaves
251,864
void (@NotNull PsiFile injectedPsi, @NotNull List<? extends PsiLanguageInjectionHost.Shred> places) {}
visit
251,865
void (@NotNull MultiHostRegistrar registrar, @NotNull PsiElement context) { Language language = context.getLanguage(); Injection injection = null; for (LanguageInjectionContributor contributor : LanguageInjectionContributor.INJECTOR_EXTENSION.allForLanguageOrAny(language)) { injection = contributor.getInjection(context...
getLanguagesToInject
251,866
InjectedLanguageManagerImpl (Project project) { return (InjectedLanguageManagerImpl)InjectedLanguageManager.getInstance(project); }
getInstanceImpl
251,867
void (@NotNull IdeaPluginDescriptor pluginDescriptor, boolean isUpdate) { // When a language plugin is unloaded, make sure we don't have references to any injection host PSI from this language // in the injector cache clearInjectorCache(); }
beforePluginUnload
251,868
void (@NotNull IdeaPluginDescriptor pluginDescriptor, boolean isUpdate) { clearInjectorCache(); }
pluginUnloaded
251,869
void () { disposeInvalidEditors(); }
dispose
251,870
void (@NotNull PsiFile hostFile) { List<DocumentWindow> invalid = ContainerUtil.findAll(InjectedLanguageUtilBase.getCachedInjectedDocuments(hostFile), doc -> !doc.isValid()); for (DocumentWindow window : invalid) { InjectedLanguageUtilBase.clearCaches(hostFile.getProject(), window); } }
clearInvalidInjections
251,871
void () { InjectedEditorWindowTracker editorWindowTracker = ApplicationManager.getApplication().getServiceIfCreated(InjectedEditorWindowTracker.class); if (editorWindowTracker != null) { editorWindowTracker.disposeInvalidEditors(); } }
disposeInvalidEditors
251,872
PsiLanguageInjectionHost (@NotNull FileViewProvider injectedProvider) { //noinspection removal if (!(injectedProvider instanceof InjectedFileViewProvider)) { return null; } //noinspection removal return ((InjectedFileViewProvider)injectedProvider).getShreds().getHostPointer().getElement(); }
getInjectionHost
251,873
PsiLanguageInjectionHost (@NotNull PsiElement injectedElement) { PsiFile file = injectedElement.getContainingFile(); VirtualFile virtualFile = file == null ? null : file.getVirtualFile(); if (virtualFile instanceof VirtualFileWindow) { // use utility method in case the file's overridden getContext() PsiElement host = F...
getInjectionHost
251,874
TextRange (@NotNull PsiElement injectedContext, @NotNull TextRange injectedTextRange) { DocumentWindow documentWindow = getDocumentWindow(injectedContext); return documentWindow == null ? injectedTextRange : documentWindow.injectedToHost(injectedTextRange); }
injectedToHost
251,875
int (@NotNull PsiElement element, int offset) { DocumentWindow documentWindow = getDocumentWindow(element); return documentWindow == null ? offset : documentWindow.injectedToHost(offset); }
injectedToHost
251,876
int (@NotNull PsiElement injectedContext, int injectedOffset, boolean minHostOffset) { DocumentWindow documentWindow = getDocumentWindow(injectedContext); return documentWindow == null ? injectedOffset : ((DocumentWindowImpl)documentWindow).injectedToHost(injectedOffset, minHostOffset); }
injectedToHost
251,877
DocumentWindow (@NotNull PsiElement element) { PsiFile file = element.getContainingFile(); if (file == null) { return null; } Document document = PsiDocumentManager.getInstance(file.getProject()).getCachedDocument(file); return document instanceof DocumentWindow ? (DocumentWindow)document : null; }
getDocumentWindow
251,878
void (@NotNull Collection<? extends PsiElement> in, @NotNull Processor<? super PsiElement> processor) { ClassMapCachingNulls<MultiHostInjector> map = getInjectorMap(); for (PsiElement element : in) { if (map.get(element.getClass()) != null) { processor.process(element); } } }
processInjectableElements
251,879
ClassMapCachingNulls<MultiHostInjector> () { ClassMapCachingNulls<MultiHostInjector> cached = cachedInjectors; if (cached != null) { return cached; } ClassMapCachingNulls<MultiHostInjector> result = calcInjectorMap(); cachedInjectors = result; return result; }
getInjectorMap
251,880
ClassMapCachingNulls<MultiHostInjector> () { Map<Class<?>, MultiHostInjector[]> injectors = new HashMap<>(); List<MultiHostInjector> allInjectors = new ArrayList<>(myManualInjectors); allInjectors.addAll(MultiHostInjector.MULTIHOST_INJECTOR_EP_NAME.getExtensions(myProject)); if (LanguageInjector.EXTENSION_POINT_NAME.ha...
calcInjectorMap
251,881
void () { cachedInjectors = null; if (myProject.isDisposed() || myProject.isDefault()) { return; } for (VirtualFile file : FileEditorManager.getInstance(myProject).getOpenFiles()) { PsiFile psiFile = PsiManager.getInstance(myProject).findFile(file); if (psiFile != null) { for (DocumentWindow document : InjectedLanguage...
clearInjectorCache
251,882
void (@NotNull MultiHostInjector injector, @NotNull Disposable parentDisposable) { myManualInjectors.add(injector); clearInjectorCache(); Disposer.register(parentDisposable, () -> unregisterMultiHostInjector(injector)); }
registerMultiHostInjector
251,883
void (@NotNull MultiHostInjector injector) { try { myManualInjectors.remove(injector); } finally { clearInjectorCache(); } }
unregisterMultiHostInjector
251,884
String (@NotNull PsiElement injectedNode) { String leafText = InjectedLanguageUtilBase.getUnescapedLeafText(injectedNode, false); if (leafText != null) { return leafText; // optimization } StringBuilder text = new StringBuilder(injectedNode.getTextLength()); // gather text from (patched) leaves injectedNode.accept(new ...
getUnescapedText
251,885
void (@NotNull PsiElement element) { String leafText = InjectedLanguageUtilBase.getUnescapedLeafText(element, false); if (leafText != null) { text.append(leafText); return; } super.visitElement(element); }
visitElement
251,886
int (@NotNull PsiFile injectedFile, int injectedOffset) { if (injectedOffset < 0) return injectedOffset; var visitor = new PsiRecursiveElementWalkingVisitor() { int unescapedOffset = 0; int escapedOffset = 0; @Override public void visitElement(@NotNull PsiElement element) { String leafText = InjectedLanguageUtilBase.ge...
mapInjectedOffsetToUnescaped
251,887
void (@NotNull PsiElement element) { String leafText = InjectedLanguageUtilBase.getUnescapedLeafText(element, false); if (leafText != null) { unescapedOffset += leafText.length(); escapedOffset += element.getTextLength(); if (escapedOffset >= injectedOffset) { unescapedOffset -= escapedOffset - injectedOffset; stopWalk...
visitElement
251,888
int (@NotNull PsiFile injectedFile, int offset) { if (offset < 0) return offset; var visitor = new PsiRecursiveElementWalkingVisitor() { int unescapedOffset = 0; int escapedOffset = 0; @Override public void visitElement(@NotNull PsiElement element) { String leafText = InjectedLanguageUtilBase.getUnescapedLeafText(eleme...
mapUnescapedOffsetToInjected
251,889
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(); } } sup...
visitElement
251,890
List<TextRange> (@NotNull PsiFile injectedPsi, @NotNull TextRange rangeToEdit) { Place shreds = InjectedLanguageUtilBase.getShreds(injectedPsi); if (shreds == null) return Collections.emptyList(); Object result = null; // optimization: TextRange or ArrayList<TextRange> int count = 0; int offset = 0; for (PsiLanguageInj...
intersectWithAllEditableFragments
251,891
boolean (@NotNull FileViewProvider viewProvider) { //noinspection removal return viewProvider instanceof InjectedFileViewProvider; }
isInjectedViewProvider
251,892
PsiElement (@NotNull PsiFile hostFile, int hostDocumentOffset) { return InjectedLanguageUtilBase.findInjectedElementNoCommit(hostFile, hostDocumentOffset); }
findInjectedElementAt
251,893
void (@NotNull PsiFile file) { InjectedLanguageUtilBase.clearCachedInjectedFragmentsForFile(file); }
dropFileCaches
251,894
PsiFile (@NotNull PsiElement element) { return InjectedLanguageUtilBase.getTopLevelFile(element); }
getTopLevelFile
251,895
List<DocumentWindow> (@NotNull PsiFile hostPsiFile, @NotNull TextRange range) { return InjectedLanguageUtilBase.getCachedInjectedDocumentsInRange(hostPsiFile, range); }
getCachedInjectedDocumentsInRange
251,896
void (@NotNull PsiElement host, @NotNull PsiLanguageInjectionHost.InjectedPsiVisitor visitor) { InjectedLanguageUtilBase.enumerate(host, visitor); }
enumerate
251,897
void (@NotNull PsiElement host, @NotNull PsiFile containingFile, boolean probeUp, @NotNull PsiLanguageInjectionHost.InjectedPsiVisitor visitor) { InjectedLanguageUtilBase.enumerate(host, containingFile, probeUp, visitor); }
enumerateEx
251,898
List<TextRange> (@NotNull DocumentWindow window) { List<TextRange> result = new ArrayList<>(); int offset = 0; for (PsiLanguageInjectionHost.Shred shred : ((DocumentWindowImpl)window).getShreds()) { Segment hostRange = shred.getHostRangeMarker(); if (hostRange == null) continue; offset = appendRange(result, offset, shr...
getNonEditableFragments
251,899
boolean (@NotNull Document hostDocument, int hostOffset) { return InjectedLanguageUtilBase.mightHaveInjectedFragmentAtCaret(myProject, hostDocument, hostOffset); }
mightHaveInjectedFragmentAtOffset