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 | eda0602e32a71edb1f9c5347a8f526178abea5aa (patch) | |
tree | a2f7d3d00b750f32496ed7ea752a7886d7ba0b2e | |
parent | 5502dee3e8fd063007db01b3f1769735db2172f7 (diff) | |
download | scintilla-mirror-eda0602e32a71edb1f9c5347a8f526178abea5aa.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 |