Bug 295360

Summary: Tcl/Tk syntax incomplete
Product: [Applications] kate Reporter: SB <simonbachmann>
Component: syntaxAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: simonbachmann
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 4.9.0
Sentry Crash Report:
Attachments: .diff that adds the new commands to syntax file tcl.xml

Description SB 2012-03-05 12:18:25 UTC
Created attachment 69300 [details]
.diff that adds the new commands to syntax file tcl.xml

Hi! 
With Tcl/tk 8.5 (released in late 2007) several new commands were introduced to the language. 
Kate still does not recognise and highlight them correctly. I guess it's time to fix that :-)
Here's a patch that adds all of the "new" commands.
I did not update the 'keywords-opt' list however - simply too much work...
Comment 1 Dominik Haumann 2012-03-07 20:13:24 UTC
Git commit ae729a4a42f5b92c0bd38abbfc0a2488123de2a7 by Dominik Haumann.
Committed on 07/03/2012 at 21:12.
Pushed by dhaumann into branch 'master'.

add commands of Tcl/tk 8.5

M  +31   -2    part/syntax/data/tcl.xml

http://commits.kde.org/kate/ae729a4a42f5b92c0bd38abbfc0a2488123de2a7
Comment 2 Dominik Haumann 2012-03-07 20:15:25 UTC
> I did not update the 'keywords-opt' list however - simply too much work...

Thanks a lot for the patch! Already committed. Still, if for you as Tcl/tk user it is too much work to update the keywords-opt list, it is by far too much work for us (we have no Tcl/tk knowledge) to do it.

So if you want the update, would be nice, if you could provide another patch :-)