This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Integrate Kate-Syntax-Highlighting

44

Votes
50
6
Tags: kword, done kword, done kword, done
(comma "," separated)
The User
KDE Developer
Posts
647
Karma
0
OS
Hi KOffice-Hackers!

It would be great to have Syntax-Highlighting in KWord for presenting Source-Code. There could be either references to external files or the contents could be directly inserted into the document. You could choose different styles (for example grayscale-highlighting or "normal" highlighting). Solutions in other programs are very bad. LaTeX's highlighter doesn't support Unicode (the patched version has also problems) TeXmacs, OpenOffice and MS Office doesn't have syntax-highlighting. But this feature would obviously be very useful.

The User
User avatar
milliams
KDE Developer
Posts
3
Karma
0
OS
Basically you\'re asking for a katepart \'shape\' for KOffice. I would imagine that that is technically possible.
The User
KDE Developer
Posts
647
Karma
0
OS
Sounds good. :)
The User
KDE Developer
Posts
647
Karma
0
OS
Well, I've created a basic version some days ago, but there's a bug in the Kate-KTextEditor-Implementation so it's not yet usable. :(
User avatar
Madman
Registered Member
Posts
593
Karma
1
OS
^^ 'Work in progress', then?


Madman, proud to be a member of KDE forums since 2008-Oct.
The User
KDE Developer
Posts
647
Karma
0
OS
Yes.^^ I hope I'll find a solution with the Kate-developers.
The User
KDE Developer
Posts
647
Karma
0
OS

Integrate Kate-Syntax-Highlighting

Sat Dec 12, 2009 11:25 am
I have now implemented it. (you can find it in trunk/playground/office/highlight)
It's not yet perfect, but the basic features are there.
The new KTextEditor-HighlightInterface has made it possible. Thank you, Milian. ;)
Please mark it as done.


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], Sogou [Bot]