mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Revert "Handle PCE in PropertyFoldingBuilder (IDEA-232433)"
This reverts commit 7759e5b2 GitOrigin-RevId: c02211b12e5cf66cfbea0267b67625a1076ee4e7
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f6231edb77
commit
0e43a38d6c
+1
-9
@@ -13,7 +13,6 @@ import com.intellij.lang.properties.psi.Property;
|
||||
import com.intellij.lang.properties.psi.impl.PropertyImpl;
|
||||
import com.intellij.lang.properties.psi.impl.PropertyStubImpl;
|
||||
import com.intellij.openapi.editor.Document;
|
||||
import com.intellij.openapi.progress.ProcessCanceledException;
|
||||
import com.intellij.openapi.progress.ProgressManager;
|
||||
import com.intellij.openapi.util.Couple;
|
||||
import com.intellij.openapi.util.Key;
|
||||
@@ -287,14 +286,7 @@ public class PropertyFoldingBuilder extends FoldingBuilderEx {
|
||||
if (property == NULL) return false;
|
||||
if (property != null) return true;
|
||||
|
||||
final boolean isI18n;
|
||||
try {
|
||||
isI18n = JavaI18nUtil.mustBePropertyKey(expr, null);
|
||||
}
|
||||
catch (ProcessCanceledException e) {
|
||||
return false;
|
||||
}
|
||||
|
||||
final boolean isI18n = JavaI18nUtil.mustBePropertyKey(expr, null);
|
||||
if (!isI18n) {
|
||||
sourcePsi.putUserData(CACHE, NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user