[Libreoffice-bugs] [Bug 121213] New: Autocorrection of Function Parameters and Static variables does not work

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Nov 6 15:57:03 UTC 2018


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: libreoffice-bugs at lists.freedesktop.org
          Reporter: tony.sultana at pm.me

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181106/4457aaa7/attachment-0001.html>


More information about the Libreoffice-bugs mailing list