mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Grails: Bug fix: attributes must be at top in completing popup.
This commit is contained in:
@@ -4,7 +4,6 @@ import com.intellij.openapi.util.Key;
|
||||
import com.intellij.openapi.util.Pair;
|
||||
import com.intellij.openapi.util.UserDataHolderEx;
|
||||
import com.intellij.psi.PsiElement;
|
||||
import com.intellij.psi.PsiFile;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@@ -75,7 +74,7 @@ public class LightCacheKey<T> {
|
||||
return new LightCacheKey<T>() {
|
||||
@Override
|
||||
protected long getModificationCount(PsiElement holder) {
|
||||
return ((PsiFile)holder).getModificationStamp();
|
||||
return holder.getContainingFile().getModificationStamp();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user