[Bug 58112] New: Using Tools->Indent/Unindent doesn't work anymore.

Joachim Eibl joachim.eibl at gmx.de
Sun May 4 16:36:04 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=58112     
           Summary: Using Tools->Indent/Unindent doesn't work anymore.
           Product: kdevelop
           Version: unspecified
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: joachim.eibl at gmx.de


Version:           3.0.0a4 (using KDE KDE 3.1.1)
Installed from:    SuSE RPMs

Previous indentation is not preserved if it is not the same as the
"Tab- and Indent width" in the Editor setting.

E.g. The "Tab and Indent width" is 8, but my text was written with 3 spaces for indentation.
e.g.
   for(i=m_optionItemList.begin(); i!=m_optionItemList.end(); ++i)
   {
      (*i)->apply();
   }
After pressing Ctrl-I the result is:
        for(i=m_optionItemList.begin(); i!=m_optionItemList.end(); ++i)
        {
        (*i)->apply();
        }
The relative indentation between two lines is lost.
I would expect this:
        for(i=m_optionItemList.begin(); i!=m_optionItemList.end(); ++i)
        {
           (*i)->apply();
        }

In version 2.x this was no problem because (un)indent only inserted(removed) one space at the time.

Regards,
Joachim




More information about the KDevelop-devel mailing list