tonkv / qdevelop

Automatically exported from code.google.com/p/qdevelop
0 stars 0 forks source link

Code indenter doesn't work well #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
-- What steps will reproduce the problem?
1. Open a C++ source file with qdevelop
2.

Issue 1:
The button "Indent selection" on toolbar can indent selected lines as
expected, but "Unindent selection" only unindents 1 space.

Issue 2:
Disable "Auto brackets" in "tools -> options... -> Editor", type the
following code EXACTLY character by character:

if (1)
{
    something();
   }

You'll see '}' is not aligned with '{'.

-- What is the expected output? What do you see instead?
For issue 1, I expect it unindents same length as it indents;
For issue 2, I expect } align with '{';

-- Please use labels and text to provide additional information.
I'm using revision 25

Original issue reported on code.google.com by Trent.Z...@gmail.com on 19 Oct 2006 at 10:16

GoogleCodeExporter commented 9 years ago
This problem will be fixed by jlbiord.

Original comment by jlbi...@gmail.com on 21 Oct 2006 at 12:29

GoogleCodeExporter commented 9 years ago
Fixed on rev 34

Original comment by jlbi...@gmail.com on 23 Oct 2006 at 4:03