diff options
author | Colomban Wendling <ban@herbesfolles.org> | 2012-09-13 21:04:28 +0200 |
---|---|---|
committer | Colomban Wendling <ban@herbesfolles.org> | 2012-09-13 21:04:28 +0200 |
commit | c7942e874f3e06d5bb0bcecab4677880150f039c (patch) | |
tree | 804d4c150245fa30f85a1002ff8159861588bb76 | |
parent | 63d4f856c31079676a4242257ea29f9dff4fa672 (diff) | |
download | scintilla-mirror-c7942e874f3e06d5bb0bcecab4677880150f039c.tar.gz |
Remove duplicated branch in PO lexer
-rw-r--r-- | lexers/LexPO.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lexers/LexPO.cxx b/lexers/LexPO.cxx index d1ccda394..ced58efe2 100644 --- a/lexers/LexPO.cxx +++ b/lexers/LexPO.cxx @@ -11,6 +11,7 @@ // TODO: // * add keywords for flags (fuzzy, c-format, ...) // * highlight formats inside c-format strings (%s, %d, etc.) +// * style for previous untranslated string? ("#|" comment) #include <stdlib.h> #include <string.h> @@ -108,8 +109,6 @@ static void ColourisePODoc(unsigned int startPos, int length, int initStyle, Wor sc.SetState(SCE_PO_REFERENCE); else if (sc.chNext == ',') sc.SetState(SCE_PO_FLAGS); - else if (sc.chNext == '|') - sc.SetState(SCE_PO_COMMENT); // previous untranslated string, no special style yet else sc.SetState(SCE_PO_COMMENT); } else if (atLineStart && sc.Match("msgid")) { // includes msgid_plural |