mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-31437 - assert: DocumentFoldingInfo.writeExternal
This commit is contained in:
+1
-1
@@ -206,7 +206,7 @@ public class OffsetsElementSignatureProvider extends AbstractElementSignaturePro
|
||||
buffer.append(ELEMENT_TOKENS_SEPARATOR).append(index);
|
||||
PsiFile containingFile = element.getContainingFile();
|
||||
if (containingFile != null && containingFile.getViewProvider().getLanguages().size() > 1) {
|
||||
buffer.append(ELEMENT_TOKENS_SEPARATOR).append(element.getLanguage().getID());
|
||||
buffer.append(ELEMENT_TOKENS_SEPARATOR).append(containingFile.getLanguage().getID());
|
||||
}
|
||||
return buffer.toString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user