Version: (using KDE KDE 3.5.8) Installed from: SuSE RPMs Consider (C++) A B C I select all lines, comment, and what I get? /*A B C*/ After some time I would like to uncomment B. In this example this is trivial, in practice -- it is a headache. With line comment it would be simple, I would get: //A //B //C I would put text cursor at B, and uncomment it. Voila.
I did a lot to make kate work that way, and AFAICS it does, both v. 2x and 3. Do you have empty space that is not selected somewhere? Could you provide detailled instructions about how you select to make it not work correctly?
> I did a lot to make kate work that way, and AFAICS it does, both v. 2x and > 3. I agree, but there are cases like above when Kate uses detailed comment, when line comment would be better. > Could you provide detailled instructions about how you select to make it not > work correctly? |A B C |#include <iostream> | denotes start and end of selection. Detailed comment will be used however, here: |A B C | #include <iostream> line comment will be used.
Maciej: Can you please retry? Maybe it works for KDE 4.5 already, if not, please try upcoming Kate for KDE 4.6. You can very easily build it according to http://kate-editor.org/get-it/
Git commit 3789265bd1a79d049628fd1d46655573ca23d82f by Dominik Haumann. Committed on 12/08/2011 at 10:55. Pushed by dhaumann into branch 'master'. use single line comments whenever possible BUG: 154058 M +4 -2 part/document/katedocument.cpp http://commits.kde.org/kate/3789265bd1a79d049628fd1d46655573ca23d82f
Git commit 0b7520ab2e0dcb12e97d4b9a197c7feed47d3ef8 by Dominik Haumann. Committed on 12/08/2011 at 10:55. Pushed by dhaumann into branch 'KDE/4.7'. use single line comments whenever possible BUG: 154058 M +4 -2 part/document/katedocument.cpp http://commits.kde.org/kate/0b7520ab2e0dcb12e97d4b9a197c7feed47d3ef8