mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
New chameleons and fix for problem with changed elements ordering in tree events
This commit is contained in:
@@ -33,7 +33,8 @@ public class ClassElement extends RepositoryTreeElement {
|
||||
|
||||
PsiClass psiClass = (PsiClass)SourceTreeToPsiMap.treeElementToPsi(this);
|
||||
if (anchor == null) {
|
||||
if (first.getElementType() != DOC_COMMENT) {
|
||||
if (first.getElementType() != JavaDocElementType.DOC_COMMENT &&
|
||||
first.getElementType() != JavaTokenType.DOC_COMMENT) {
|
||||
if (before == null) {
|
||||
if (first == last) {
|
||||
PsiElement firstPsi = SourceTreeToPsiMap.treeElementToPsi(first);
|
||||
|
||||
Reference in New Issue
Block a user