Bug 76594 - parenthesis highlighting as expression
Summary: parenthesis highlighting as expression
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: syntax (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Mirko Stocker
URL:
Keywords:
: 76595 137875 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-02 21:52 UTC by Martin Köbele
Modified: 2008-11-09 15:19 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
highlighting round brackets as expression (1.31 KB, image/png)
2007-10-11 14:50 UTC, Martin Köbele
Details
highlighting curly brackets as expression (method) (1.36 KB, image/png)
2007-10-11 14:52 UTC, Martin Köbele
Details
highlighting curly brackets as expression (if statement) (1.66 KB, image/png)
2007-10-11 14:52 UTC, Martin Köbele
Details
highlighting square brackets as expression (1.78 KB, image/png)
2007-10-11 14:54 UTC, Martin Köbele
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Köbele 2004-03-02 21:52:50 UTC
Version:            (using KDE KDE 3.2.0)

Hi,

it would be really awesome to have parenthesis highlighted as an expression, like xemacs can do.
Would this be possible?

Thanks!

mkoebele
Comment 1 Martin Köbele 2004-03-02 22:01:58 UTC
*** Bug 76595 has been marked as a duplicate of this bug. ***
Comment 2 Anders Lund 2004-03-02 22:06:19 UTC
eh, what? could you provide a screenshut and a more detailled explanation?
Comment 3 Martin Köbele 2004-03-02 23:42:14 UTC
here it is:
http://www.mkoebele.de/screenies/
Comment 4 Sebastian Pipping 2007-10-10 23:40:29 UTC
The screenshot link is broken. Please attach a screenshot to this bug.
Comment 5 Martin Köbele 2007-10-11 14:50:33 UTC
Created attachment 21794 [details]
highlighting round brackets as expression
Comment 6 Martin Köbele 2007-10-11 14:52:33 UTC
Created attachment 21795 [details]
highlighting curly brackets as expression (method)
Comment 7 Martin Köbele 2007-10-11 14:52:55 UTC
Created attachment 21796 [details]
highlighting curly brackets as expression (if statement)
Comment 8 Martin Köbele 2007-10-11 14:54:01 UTC
Created attachment 21797 [details]
highlighting square brackets as expression
Comment 9 Mirko Stocker 2007-10-11 22:55:50 UTC
I'm currently working on bracket highlighting for KDE 4 and this would be quite easy to implement, I'll see what I can do, but I can't promise anything.
Comment 10 Dominik Haumann 2007-10-12 01:08:50 UTC
It probably should be an option whether the whole expression should be highlighted, or only the beginning and the end.
Comment 11 Martin Köbele 2007-10-12 04:13:56 UTC
yes, definitely!
Comment 12 Mirko Stocker 2007-10-12 14:56:23 UTC
I completely agree. I could add a group and checkbox to the "Appearance" settings?
Comment 13 Thomas Friedrichsmeier 2008-01-07 12:18:24 UTC
*** Bug 137875 has been marked as a duplicate of this bug. ***
Comment 14 Mirko Stocker 2008-01-09 23:33:23 UTC
SVN commit 759071 by mstocker:

Finally implement this wish, "parenthesis highlighting as expression". I'm not
so sure about the checkbox caption I used, just change it if you come up with a
better phrase.

BUG: 76594


 M  +10 -0     dialogs/appearanceconfigwidget.ui  
 M  +4 -0      dialogs/katedialogs.cpp  
 M  +24 -0     utils/kateconfig.cpp  
 M  +5 -0      utils/kateconfig.h  
 M  +1 -0      view/kateview.cpp  
 M  +23 -1     view/kateviewinternal.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=759071
Comment 15 Martin Köbele 2008-08-05 05:58:05 UTC
this is amazing now! thanks!
Comment 16 Andreas Schallenberg 2008-11-09 15:00:14 UTC
Martin, shouldn't this be closed since it is implemented?
Comment 17 Martin Köbele 2008-11-09 15:19:55 UTC
"Resolved Fixed" already indicates that this bug is implemented.
Whether it has to go to "Closed" is up to the Assignee or to the build team.