https://bugs.documentfoundation.org/show_bug.cgi?id=158602

Rafael Lima <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|"Option ClassModule" makes  |"Option ClassModule" makes
                   |double-clicking the "Object |double-clicking the "Object
                   |Catalog stop working        |Catalog" stop working

--- Comment #1 from Rafael Lima <[email protected]> ---
In the Basic IDE, if you place:

Option Compatible
Option ClassModule

At the header of a Basic Module, double clicking method names on this module
will stop working in the Object Catalog.

For instance, consider these macros in Module1:

Sub Macro1
        'Dummy Macro
        MsgBox "Dummy 1"
End Sub

Sub Macro2
        'Dummy Macro
        MsgBox "Dummy 2"
End Sub

Sub Macro3
        'Dummy Macro
        MsgBox "Dummy 3"
End Sub

Sub Macro4
        'Dummy Macro
        MsgBox "Dummy 4"
End Sub

If you create them in Module1, it is possible to navigate the macros using the
Object Catalog and double-clicking their names will move the cursor to the
beginning of the macro definition.

However, after adding "Option ClassModule" at the top of the module and
compiling the module, double-clicking will stop working.

System info

Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 07036eea5089feae511145412d7105cb76c1955a
CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to