Issue 21416 - Wrong syntax higlighting for strings with national characters in Basic IDE
Summary: Wrong syntax higlighting for strings with national characters in Basic IDE
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: OOo 1.1
Hardware: Other Linux, all
: P4 Trivial (vote)
Target Milestone: AOO PleaseHelp
Assignee: ab
QA Contact: issues@udk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-19 13:04 UTC by akrioukov
Modified: 2007-06-18 10:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
A screnshot showing how strings in Basic IDE are higlighted (29.22 KB, application/octet-stream)
2003-10-19 13:08 UTC, akrioukov
no flags Details
Gzipped Basic module containing a Russian string. (370 bytes, application/octet-stream)
2003-10-24 11:55 UTC, akrioukov
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description akrioukov 2003-10-19 13:04:42 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.
Comment 1 akrioukov 2003-10-19 13:08:08 UTC
Created attachment 10441 [details]
A screnshot showing how strings in Basic IDE are higlighted
Comment 2 akrioukov 2003-10-22 08:55:28 UTC
Component changed to ucb 
Comment 3 matthias.huetsch 2003-10-22 13:29:56 UTC
Scripting (and Basic) are part of the UDK project (not UCB).
Reassigning...
Comment 4 ab 2003-10-22 15:14:17 UTC
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.
Comment 5 akrioukov 2003-10-24 11:55:55 UTC
Created attachment 10603 [details]
Gzipped Basic module containing a Russian string.
Comment 6 akrioukov 2003-10-24 11:57:12 UTC
One small correction: the problem seems to appear only in a UTF-8 locale 
(ru_RU.UTF-8 in my case). 
 
Comment 7 Martin Hollmichel 2004-05-28 17:36:24 UTC
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.
Comment 8 ab 2005-07-28 08:23:54 UTC
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.
Comment 9 kay.ramme 2007-06-18 10:47:46 UTC
This issue has been "RESOLVED" for quite a time, I assume I can close it ...