1 package com
.intellij
.codeInsight
.editorActions
;
3 import com
.intellij
.psi
.PsiElement
;
4 import com
.intellij
.psi
.xml
.XmlAttribute
;
5 import com
.intellij
.psi
.xml
.XmlAttributeValue
;
7 class XmlElementSelectioner
extends ExtendWordSelectionHandlerBase
{
8 public boolean canSelect(PsiElement e
) {
9 return e
instanceof XmlAttribute
|| e
instanceof XmlAttributeValue
;