https://bugs.freedesktop.org/show_bug.cgi?id=57307

          Priority: medium
            Bug ID: 57307
          Assignee: [email protected]
           Summary: Basic IDE: adding variable to Watch window performs
                    incorrectly if variable name contains_underscores
          Severity: minor
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: All
            Status: UNCONFIRMED
           Version: 3.4.2 release
         Component: BASIC
           Product: LibreOffice

Basic IDE problem: If we place cursor on variable with underscores in name and
click "Enable Watch (F7)" for adding variable to Watch window, it performs
incorrectly. Adds only part of name.
Problem seen also if double click on such variable name in program's text. Only
part of name selected.

Steps to reproduce:
0. Start any LO module, for example, Writer
1. Press Alt-F11, in dialog "LibreOffice Basic Macros" press "New" and then
"Ok"
2. In Basic IDE enter something like this:

Sub Main
First_Result=1
Second_Result=2
End Sub

3. Place cursor on variable name and press "Enable Watch (F7)"
Expected: added variable with correct name to window "Watch"
Actually: added only part of name, for example First instead of First_Result

reproduced in 3.4.2 on Windows XP 32 bit and in 3.6.3 on RFR 17 64 bit

Workaround: select correct name of variable manually and press F7

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to