From kde-bugs-dist Fri Apr 12 20:37:03 2013 From: Ambroz Bizjak Date: Fri, 12 Apr 2013 20:37:03 +0000 To: kde-bugs-dist Subject: [kdevelop] [Bug 318263] New: auto-correction incorrectly changes dot to arrow Message-Id: X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=136579902721700 https://bugs.kde.org/show_bug.cgi?id=318263 Bug ID: 318263 Summary: auto-correction incorrectly changes dot to arrow Classification: Unclassified Product: kdevelop Version: 4.4.1 Platform: Gentoo Packages OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: Language Support: CPP Assignee: kdevelop-bugs-null@kde.org Reporter: ambrop7@gmail.com Auto-correction will sometimes incorrectly change a dot to an arrow. To reproduce, start with the following code, and save it to a .c file. struct foo { int x; }; void func (void) { } Once it's saved, type the following into the body of the function (type everything): struct foo f; // wait some time for the parser here &f.x; While typing the second statement, "." is changed to "->" as it is typed, even though the former is valid C code, and the auto-corrected version is invalid (type error because "&f->x" is parsed as "&(f->x)"). Note that this bug doesn't happen every time. Some editing, saving and waiting may be required to reproduce it. Reproducible: Sometimes -- You are receiving this mail because: You are watching all bug changes.