Bug 295360 - Tcl/Tk syntax incomplete
Summary: Tcl/Tk syntax incomplete
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: syntax (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-05 12:18 UTC by SB
Modified: 2012-03-07 20:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.9.0
Sentry Crash Report:


Attachments
.diff that adds the new commands to syntax file tcl.xml (4.43 KB, patch)
2012-03-05 12:18 UTC, SB
Details

Note You need to log in before you can comment on or make changes to this bug.
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 :-)