Version: (using KDE 4.0.3) Installed from: Ubuntu Packages I am using kate 4.0.3 to edit this file: http://websvn.kde.org/*checkout*/branches/extragear/kde3/utils/guidance/wineconfig/wineconfig.py There are several glitches in the code folding. Some blocks seem to begin and end in arbitrary places. Collapsing any one of most of the classes results in folding in the entire document. I will attach a screenshot with some examples.
Created attachment 24311 [details] screenshot of a collapsible block that makes no sense In screenshot: - A few collapse arrows appear on blank lines. - The hilighted block is an arbitrary bunch of code spanning a couple functions and ending later in the middle of an if statement. - Some of the other collapse arrows don't make any sense in other ways.
Version 3.1.0 Using KDE 4.1.00 (KDE 4.1.0) (KDEmod) in ArchLinux i686: I can partially reproduce this bug: Collapsing "def InstallWine(self):" (line 304) will hide the all file below instead of hiding only that function (there are a lot of unrelated functions below). The same fot collapsing "class DrivesPage(QWidget):" (line 509) It didn't observe collapse arrows in blank lines or misplaced ones
Codefolding needs really a revamp... *** This bug has been marked as a duplicate of bug 119185 ***