[Libreoffice-bugs] [Bug 123043] New: Type character detection on variable name should be Unicode-aware
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Jan 29 20:13:17 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=123043
Bug ID: 123043
Summary: Type character detection on variable name should be
Unicode-aware
Product: LibreOffice
Version: 6.3.0.0.alpha0+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: himajin100000 at gmail.com
Description:
see steps to reproduce
Steps to Reproduce:
1. Open the attached odt(Suffix.odt) file
2. Tools->Macros->Organize Macro->LibreOfficeDev Basic
3. Select Suffix.odt/Standard/Module1
4. Click Edit Button
5. You will find Sub Main(). This subroutine has one variable named "住所"
,whose meaning is "address" in Japanese".
note: non-ascii character name is possible only when the code has "Option
VBASupport 1"
6. This variable name consists of two characters. U+4F4F and U+6240.
Also, please note that '@' character, which is used for type character,is
U+0040
Type Characters
https://docs.microsoft.com/en-us/dotnet/visual-basic/programming-guide/language-features/data-types/type-characters
7. Select the variable name and Copy it. Then paste the name into "Watch:" in
the bottomside of the IDE and press Enter.
Actual Results:
Variable '住', not '住所', is registered as the watched variable.
Expected Results:
Variable '住所' is registered as the watched variable.
Reproducible: Always
User Profile Reset: No
Additional Info:
possible source code pointers:
https://opengrok.libreoffice.org/xref/core/basctl/source/basicide/baside2b.cxx?r=6256797d#90
https://opengrok.libreoffice.org/xref/core/basctl/source/basicide/baside2b.cxx?r=6256797d#161
Version: 6.3.0.0.alpha0+ (x64)
Build ID: 13279b94080d87dde51bc8b8c669212bf71cacca
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win;
TinderBox: Win-x86_64 at 42, Branch:master, Time: 2019-01-23_04:38:36
Locale: ja-JP (ja_JP); UI-Language: en-US
Calc: threaded
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190129/b3b961d1/attachment.html>
More information about the Libreoffice-bugs
mailing list