[ooo-build-bugs] [Bug 30452] New: Run Basic (F5) Toolbox icon runs 1st macros in module

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 29 02:31:22 PDT 2010


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

           Summary: Run Basic (F5) Toolbox icon runs 1st macros in module
           Product: LibreOffice
           Version: unspecified
          Platform: x86 (IA32)
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libreoffice
        AssignedTo: ooo-build-bugs at lists.freedesktop.org
        ReportedBy: omagaldadze at avoe.ge


In basic ide F5 shortcut key as well the equivalent icon on the toolbox runs
the first macros (Function or Procedure) in a module always, in spite that
cursor might stand within other procedure. 

Reproduction

1. Open a basic macros module (Probably a new one)
2. Type code:

Sub test1

msgbox "test1"

end sub

Sub test2 

msgbox "test2"

end sub

3. Put cursor within the second subprocedure (test2)
4. Press F5 key or a Run Basic icon on the Macro toolbox
Result: test1 macros will work and output a message "test1".


Although I tested it only on linux OS, I believe it's a cross-platform issue.

Oto

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the ooo-build-bugs mailing list