<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Autocorrection of Function Parameters and Static variables does not work"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=121213">121213</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Autocorrection of Function Parameters and Static variables does not work
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.1.1.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>BASIC
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>tony.sultana@pm.me
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=146365" name="attach_146365" title="Screenshot of Basic IDE Tools | Options settings">attachment 146365</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=146365&action=edit" title="Screenshot of Basic IDE Tools | Options settings">[details]</a></span>
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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>