mirror of https://gitee.com/cxasm/notepad--.git
commit
5ac07739af
|
@ -255,10 +255,7 @@ static void ColouriseAU3Doc(Sci_PositionU startPos,
|
|||
if (sc.atLineEnd) {
|
||||
ci=0;
|
||||
if (strcmp(s, "#ce")== 0 || strcmp(s, "#comments-end")== 0) {
|
||||
if (sc.atLineEnd)
|
||||
sc.SetState(SCE_AU3_DEFAULT);
|
||||
else
|
||||
sc.SetState(SCE_AU3_COMMENTBLOCK);
|
||||
sc.SetState(SCE_AU3_DEFAULT);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -175,6 +175,9 @@ static void ColouriseMETAPOSTDoc(
|
|||
if (currentInterface != 0) {
|
||||
extraInterface = currentInterface ;
|
||||
}
|
||||
else {
|
||||
extraInterface = 1;
|
||||
}
|
||||
|
||||
WordList &keywords = *keywordlists[0] ;
|
||||
WordList &keywords2 = *keywordlists[extraInterface-1] ;
|
||||
|
|
Loading…
Reference in New Issue