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
Oh dear: The bug database removed all the indentation of the examples: Here they are spaces replaced by "." to make it obvious. 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(); ...........}
KDevelop-3 can (theoretically) use any KTextEditor conforming editor the user loads. What you describe is Kate (katepart) behaviour. Reassigning.
This is fixed in CVS (HEAD) Additinally, we now support pr document settings, they can be set from the new kate command line, and we are working on "local variables" support.