Download it now!
Bug 84119 - Basic IDE - Autocorrection option makes unwanted source changes
Summary: Basic IDE - Autocorrection option makes unwanted source changes
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Reported: 2014-09-20 11:01 UTC by Jean-Pierre Ledure
Modified: 2017-12-13 14:04 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

Short macro to edit (20.47 KB, application/vnd.oasis.opendocument.text)
2014-09-20 11:01 UTC, Jean-Pierre Ledure

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Pierre Ledure 2014-09-20 11:01:54 UTC
Created attachment 106574 [details]
Short macro to edit

The changes made by the Autocorrection option of the Basic IDE in the example below corrupts the original source which was correct.

1. Open the attached Writer file and enable macros.

2. Open the Basic IDE
- Tools / Macros / Organize macros / LibreOffice Basic …
- Select Main in Module1 in Bug IDE AutoCorrection.odt and press Edit

3. Check with Tools / Options … that in the "Basic IDE options" the Autocorrection (in Code Suggestion) flag is selected

4. Put the cursor at the beginning of any of the lines starting with
	a =
and hit the Tab key

=> XXXX is changed into Xxxx, e.g. DOUBLE is changed into Double.

This raises a run-time error.
Comment 1 raal 2014-10-13 11:34:16 UTC
I can confirm with LO 4.3.2, Win7
Comment 2 QA Administrators 2015-10-14 19:57:32 UTC Comment hidden (obsolete)
Comment 3 Jean-Pierre Ledure 2015-10-15 11:25:36 UTC
Re-tested in version LibreOffice under Windows7.

The observed behaviour is identical to its description in the initial bug report.

Comment 4 QA Administrators 2016-11-08 11:23:44 UTC Comment hidden (obsolete)
Comment 5 Jean-Pierre Ledure 2016-11-08 12:01:17 UTC

I confirm that the bug is still present in LO 5.1.5 on Win7.

Comment 6 QA Administrators 2017-11-09 07:43:29 UTC Comment hidden (obsolete)
Comment 7 Jean-Pierre Ledure 2017-12-13 14:04:23 UTC
Tested with LO on Win7.

The Autocorrection option seems to have been removed from the Tools / Options dialog box (see point #3 in the problem description above).

As a consequence the issue has been solved.