Apache OpenOffice (AOO) Bugzilla – Issue 21416
Wrong syntax higlighting for strings with national characters in Basic IDE
Last modified: 2007-06-18 10:47:46 UTC
In OOo Basic IDE strings enclosed in quotes are highlited in red. This works correctly for English strings, but for strings containing some national characters closing quote is not recognized as a delimiter, and so some characters after it have the same red color (see the attached screenshot). This is not crucial, because my Basic macros work anyway, but it would be nice to fix it.
Created attachment 10441 [details] A screnshot showing how strings in Basic IDE are higlighted
Component changed to ucb
Scripting (and Basic) are part of the UDK project (not UCB). Reassigning...
Changed to P4, OOo 2.0 ab->akrioukov: Maybe you could also attach the module file directly? It should be located here: Office/user/Basic/Standard/Module1.xba This would be better as a bugdoc than a screenshot.
Created attachment 10603 [details] Gzipped Basic module containing a Russian string.
One small correction: the problem seems to appear only in a UTF-8 locale (ru_RU.UTF-8 in my case).
according to the announcement on releases (http://www.openoffice.org/servlets/ReadMsg?list=releases&msgNo=7503) this issue will be re-targeted to OOo Later.
ab->akrioukov: Syntax highlighting used to work on 8-Bit-Strings and this of course could not work for some national characters. This has been fixed for an internal task (#108518) covering similar problems with CJK characters (Chinese, Japanese, Korean) in src680 m63. This should have fixed your problem, too. I cannot reproduce it in current versions but I couldn't reproduce the CJK problem at all. So please have a look if the problem still occurs on your system.
This issue has been "RESOLVED" for quite a time, I assume I can close it ...