mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IntelliLang: move isIgnoredPlace to BaseInjection
GitOrigin-RevId: a3468d8462090890931786f72353856a740d4014
This commit is contained in:
committed by
intellij-monorepo-bot
parent
bdb70a4973
commit
29b72a3b0e
+4
-1
@@ -147,7 +147,10 @@ public class BaseInjection implements Injection, PersistentStateComponent<Elemen
|
||||
mySuffix = suffix;
|
||||
}
|
||||
|
||||
@Override
|
||||
/**
|
||||
* Determines whether injection to host or concatenation must be ignored. If at least one place in concatenation is ignored then
|
||||
* the entire concatenation must be ignored and language must not be injected.
|
||||
*/
|
||||
public boolean isIgnoredPlace(PsiElement element) {
|
||||
if (myCompiledIgnorePattern == null) {
|
||||
return false;
|
||||
|
||||
@@ -46,12 +46,6 @@ public interface Injection {
|
||||
@NotNull
|
||||
List<TextRange> getInjectedArea(PsiElement element);
|
||||
|
||||
/**
|
||||
* Determines whether injection to host or concatenation must be ignored. If at least one place in concatenation is ignored then
|
||||
* the entire concatenation must be ignored and language must not be injected.
|
||||
*/
|
||||
boolean isIgnoredPlace(PsiElement element);
|
||||
|
||||
/**
|
||||
* Determines how the injection would like being displayed (e.g. attributes
|
||||
* return a qualified TAG-NAME/@ATT-NAME combination name instead of just
|
||||
|
||||
Reference in New Issue
Block a user