From d391d0740a79ade3cdcc6d6ceec83fe99f6a4f04 Mon Sep 17 00:00:00 2001 From: harrybharry Date: Wed, 2 Jul 2008 00:20:27 +0000 Subject: [PATCH] Add spaces to templates for VS2003 compiler. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@269 f5eea248-9336-0410-98b8-ebc06183d4e3 --- PowerEditor/src/Notepad_plus.cpp | 6 +++--- PowerEditor/src/Notepad_plus.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PowerEditor/src/Notepad_plus.cpp b/PowerEditor/src/Notepad_plus.cpp index 1b8eddefb..6f5f6c54d 100644 --- a/PowerEditor/src/Notepad_plus.cpp +++ b/PowerEditor/src/Notepad_plus.cpp @@ -2596,9 +2596,9 @@ bool Notepad_plus::getXmlMatchedTagsPos(XmlMatchedTagsPos & tagsPos) return false; } -vector> Notepad_plus::getAttributesPos(int start, int end) +vector< pair > Notepad_plus::getAttributesPos(int start, int end) { - vector> attributes; + vector< pair > attributes; int bufLen = end - start + 1; char *buf = new char[bufLen+1]; @@ -2665,7 +2665,7 @@ void Notepad_plus::tagMatch() _pEditView->execute(SCI_INDICATORFILLRANGE, xmlTags.tagOpenStart, xmlTags.tagNameEnd - xmlTags.tagOpenStart); _pEditView->execute(SCI_INDICATORFILLRANGE, xmlTags.tagOpenEnd - openTagTailLen, openTagTailLen); - vector> attributes = getAttributesPos(xmlTags.tagNameEnd, xmlTags.tagOpenEnd - openTagTailLen); + vector< pair > attributes = getAttributesPos(xmlTags.tagNameEnd, xmlTags.tagOpenEnd - openTagTailLen); _pEditView->execute(SCI_SETINDICATORCURRENT, SCE_UNIVERSAL_TAGATTR); for (size_t i = 0 ; i < attributes.size() ; i++) { diff --git a/PowerEditor/src/Notepad_plus.h b/PowerEditor/src/Notepad_plus.h index b3d54edfe..29b15ad05 100644 --- a/PowerEditor/src/Notepad_plus.h +++ b/PowerEditor/src/Notepad_plus.h @@ -678,7 +678,7 @@ private: int getFirstTokenPosFrom(int currentPos, bool direction, const char *token, pair & foundPos); TagCateg getTagCategory(XmlMatchedTagsPos & tagsPos, int curPos); bool getXmlMatchedTagsPos(XmlMatchedTagsPos & tagsPos); - vector> getAttributesPos(int start, int end); + vector< pair > getAttributesPos(int start, int end); void tagMatch(); void activateNextDoc(bool direction);