Commit Graph

8 Commits

Author SHA1 Message Date
maxim
80d9b100ad SynEdit, PO highlighter: added safety check
git-svn-id: trunk@57728 -
2018-04-26 22:49:57 +00:00
maxim
8a7d207433 SynEdit, PO highlighter: when highlighting strings, search for last unescaped quote mark, skip escaped ones. Highlight the string till the end when there is only opening unescaped quote mark. This change makes highlighter behave more nicely when editing string (similarly to its behavior before r57693 #1fd799fdfc).
git-svn-id: trunk@57712 -
2018-04-25 22:42:15 +00:00
maxim
1fd799fdfc SynEdit, PO highlighter: when highlighting strings, do not assume that all quote (") marks inside a string will be properly escaped (with \). E. g. this can be the case if file was edited manually. Instead, simply search for the last quote mark in the string. This change makes highlighter more resilient and also helps in POChecker, where PO strings are presented to user without escape symbols.
git-svn-id: trunk@57693 -
2018-04-24 23:57:03 +00:00
ondrej
5598bd66e5 components: PO highlighter regression fix from r51001 #654493d96e, issue #29235
git-svn-id: trunk@51024 -
2015-12-24 15:02:50 +00:00
mattias
08201e2904 synedit: highlighters: using non fixed resourcestrings
git-svn-id: trunk@41721 -
2013-06-14 21:41:35 +00:00
martin
e0b9cef954 SynEdit: Clean up lots of IFDEF. Patch by zaher dirkey. Issue #0022186
git-svn-id: trunk@37782 -
2012-06-25 22:49:31 +00:00
juha
347ea32e4c SynEdit: remove the use of SYN_CPPB_1. It is not needed and was not used consistently.
git-svn-id: trunk@34411 -
2011-12-25 19:00:46 +00:00
martin
d4efb55fc4 IDE starting on po highlighter
git-svn-id: trunk@34300 -
2011-12-19 23:37:41 +00:00