|
|
@ -2465,8 +2465,11 @@ bool Notepad_plus::getXmlMatchedTagsPos(XmlMatchedTagsPos & tagsPos) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
case inSingleTag : // if in single tag
|
|
|
|
case inSingleTag : // if in single tag
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
tagsPos.tagCloseStart = -1; |
|
|
|
|
|
|
|
tagsPos.tagCloseEnd = -1; |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
|
|
|
|
} |
|
|
|
default: // if outOfTag, just quit
|
|
|
|
default: // if outOfTag, just quit
|
|
|
|
return false; |
|
|
|
return false; |
|
|
|
|
|
|
|
|
|
|
@ -2492,6 +2495,8 @@ void Notepad_plus::tagMatch() |
|
|
|
{ |
|
|
|
{ |
|
|
|
_pEditView->execute(SCI_SETINDICATORCURRENT, SCE_UNIVERSAL_TAGMATCH); |
|
|
|
_pEditView->execute(SCI_SETINDICATORCURRENT, SCE_UNIVERSAL_TAGMATCH); |
|
|
|
_pEditView->execute(SCI_INDICATORFILLRANGE, xmlTags.tagOpenStart, xmlTags.tagOpenEnd - xmlTags.tagOpenStart); |
|
|
|
_pEditView->execute(SCI_INDICATORFILLRANGE, xmlTags.tagOpenStart, xmlTags.tagOpenEnd - xmlTags.tagOpenStart); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ((xmlTags.tagCloseStart != -1) && (xmlTags.tagCloseEnd != -1)) |
|
|
|
_pEditView->execute(SCI_INDICATORFILLRANGE, xmlTags.tagCloseStart, xmlTags.tagCloseEnd - xmlTags.tagCloseStart); |
|
|
|
_pEditView->execute(SCI_INDICATORFILLRANGE, xmlTags.tagCloseStart, xmlTags.tagCloseEnd - xmlTags.tagCloseStart); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|