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

            Bug ID: 121213
           Summary: Autocorrection of Function Parameters and Static
                    variables does not work
           Product: LibreOffice
           Version: 6.1.1.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 146365
  --> https://bugs.documentfoundation.org/attachment.cgi?id=146365&action=edit
Screenshot of Basic IDE Tools | Options settings

With Autocorrection enabled in the Basic IDE a variable declared with the Dim
statement is correctly reformatted for any upper case letters.  If the variable
is declared in a Sub/Function parameter or a Static variable AND has upper case
letters then autocorrect does not work.

This is tested with LO 6.1.3 on Debian Linux and LO 6.1.1 on Win10.

Function test(iTest as Integer)
    Dim dABC as Double
    Static sText as String

    ' typing dabc changes to dABC to match the Dim statement
    dABC = 0
    ' typing itest does not change to iTest as declared in the function
parameter
    msgbox itest & " append"
    ' type stext does not change to sText as declared in the Static statement
    stext = "this is a test"
End Function

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

Reply via email to