After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 586457 - Parenthesis in strings confuse autoindention
Parenthesis in strings confuse autoindention
Product: anjuta
Classification: Applications
Component: plugins: language-support-c-cpp-java
Other All
: Normal normal
: ---
Assigned To: Naba Kumar
Anjuta maintainers
Depends on: 472660
Reported: 2009-06-20 10:29 UTC by Sebastian V.
Modified: 2010-01-10 13:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26

Description Sebastian V. 2009-06-20 10:29:44 UTC
Please describe the problem:
If a left parenthesis ("(") is included in a string constant the autoidention is messed up. It is now aligning the code to this parenthesis.

Steps to reproduce:
1. Include an "(" character in a string constant.
2. Try to use autoindenting afterwards.

Actual results:
The code will be aligned to the parenthesis.

Expected results:
The parenthesis should be ignored.

Does this happen every time?
Yes, it does.

Other information:
Comment 1 Johannes Schmid 2009-06-20 11:32:44 UTC
Yes, the problem ist that we have no information about the type of string yet. Could be fixed by bug #472660 or by doing something clever by ourselves.
Comment 2 Johannes Schmid 2010-01-10 13:47:34 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.