Bug 137717

Summary: When functions are collapsed, the blue highlight used to select code does not disappear properly when another selection is made in the editor
Product: [Applications] kate Reporter: Grace <fullofgrace88>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Grace 2006-11-22 03:17:50 UTC
Version:           2.5.2 (using KDE 3.5.2, Kubuntu Package 4:3.5.2-0ubuntu18 dapper)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.15-23-386

During coding, Kate allows us to collapse the code of other functions to allow ease of reading. However, after collapsing the code of some other function, the highlight that comes from selection of a block of text within the editor does not function properly. In particular, if you select one block of text (by dragging and holding down the right mouse button), the highlighted selection should disappear if you click within the editor after making the selection AND it should also disappear if you go on to make another selection. However, this behavior does not happen in the current version of KATE from Kubuntu Dapper Drake 6.06 LTS even after package update.
Comment 1 Dominik Haumann 2006-11-25 01:33:22 UTC
that's true. Selection and bracket highlighting does not work at all, if above code is folded - very broken...
Comment 2 Ruud Koolen 2007-05-27 23:54:25 UTC
This is a duplicate of bug #139578, which is fixed.
Comment 3 Dominik Haumann 2007-05-28 04:03:53 UTC
True, it's a duplicate.

*** This bug has been marked as a duplicate of 139578 ***