Add spaces to templates for VS2003 compiler.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@269 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
25a8dd0dd8
commit
d391d0740a
|
@ -2596,9 +2596,9 @@ bool Notepad_plus::getXmlMatchedTagsPos(XmlMatchedTagsPos & tagsPos)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
vector<pair<int, int>> Notepad_plus::getAttributesPos(int start, int end)
|
vector< pair<int, int> > Notepad_plus::getAttributesPos(int start, int end)
|
||||||
{
|
{
|
||||||
vector<pair<int, int>> attributes;
|
vector< pair<int, int> > attributes;
|
||||||
|
|
||||||
int bufLen = end - start + 1;
|
int bufLen = end - start + 1;
|
||||||
char *buf = new char[bufLen+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.tagOpenStart, xmlTags.tagNameEnd - xmlTags.tagOpenStart);
|
||||||
_pEditView->execute(SCI_INDICATORFILLRANGE, xmlTags.tagOpenEnd - openTagTailLen, openTagTailLen);
|
_pEditView->execute(SCI_INDICATORFILLRANGE, xmlTags.tagOpenEnd - openTagTailLen, openTagTailLen);
|
||||||
|
|
||||||
vector<pair<int, int>> attributes = getAttributesPos(xmlTags.tagNameEnd, xmlTags.tagOpenEnd - openTagTailLen);
|
vector< pair<int, int> > attributes = getAttributesPos(xmlTags.tagNameEnd, xmlTags.tagOpenEnd - openTagTailLen);
|
||||||
_pEditView->execute(SCI_SETINDICATORCURRENT, SCE_UNIVERSAL_TAGATTR);
|
_pEditView->execute(SCI_SETINDICATORCURRENT, SCE_UNIVERSAL_TAGATTR);
|
||||||
for (size_t i = 0 ; i < attributes.size() ; i++)
|
for (size_t i = 0 ; i < attributes.size() ; i++)
|
||||||
{
|
{
|
||||||
|
|
|
@ -678,7 +678,7 @@ private:
|
||||||
int getFirstTokenPosFrom(int currentPos, bool direction, const char *token, pair<int, int> & foundPos);
|
int getFirstTokenPosFrom(int currentPos, bool direction, const char *token, pair<int, int> & foundPos);
|
||||||
TagCateg getTagCategory(XmlMatchedTagsPos & tagsPos, int curPos);
|
TagCateg getTagCategory(XmlMatchedTagsPos & tagsPos, int curPos);
|
||||||
bool getXmlMatchedTagsPos(XmlMatchedTagsPos & tagsPos);
|
bool getXmlMatchedTagsPos(XmlMatchedTagsPos & tagsPos);
|
||||||
vector<pair<int, int>> getAttributesPos(int start, int end);
|
vector< pair<int, int> > getAttributesPos(int start, int end);
|
||||||
void tagMatch();
|
void tagMatch();
|
||||||
|
|
||||||
void activateNextDoc(bool direction);
|
void activateNextDoc(bool direction);
|
||||||
|
|
Loading…
Reference in New Issue