[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-source-highlight] Tinkering on Ksrc2html

From: Lorenzo Bettini
Subject: Re: [Help-source-highlight] Tinkering on Ksrc2html
Date: Sun, 06 Apr 2003 10:28:28 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01

sorry forget the previous message: the message returned to me, because of the mailing list info-source-highlight where only I can post. While the message correctly arrived to the help-source-highlight mailing list :-)


Martin Gebert wrote:
Hi all!

I need your help.
No, don't be afraid, it ain't much work. ;-)

If you know my KDE frontent for source-highlight, Ksrc2html <>, you know that in the Color & Style dialog there are syntax samples to show the currently selected style for this syntax item (as available in the j2h files). These samples are C++ specific, and I want them to be dynamic, according to the chosen source language. If a kind of syntax item isn't available in the language, the whole row will be hidden (e. g. Python knows no code blocks, curly brackets are symbols).
The current sample texts are:

Normal:        argc
Keyword:    else
Type:        char
String:        "string"
Comment:    /*text*/
Number:        1234
Preproc:    #include
Symbol        <>+-
Function:    exit()
Block brackets:    {}

I now would like to know which of these items aren't supported by which source-highlight source type, and which sample text you'd suggest for the others. The sample shouldn't exceed 8 characters, and it should be representative for this syntax item. I need esp. help on Java, Perl, PHP3, Ruby, Flex and ChangeLog, for I don't know them good enough. So if one of you knows one of these, please sit down for some minutes and give me the short list. Feel free to provide more feedback if you like. *g*

Thanks for helping!


Help-source-highlight mailing list

|  Lorenzo Bettini          ICQ# lbetto, 16080134     |
|  PhD in Computer Science                            |
|  Dip. Sistemi e Informatica, Univ. di Firenze       |
|  Tel +39 055 4796741, Fax +39 055 4796730           |
|  Florence - Italy         (Linux User # 158233)     |
|  Home Page        :    |
|         XKlaim language  |
|    Cover Band  |
|           |
|              |

reply via email to

[Prev in Thread] Current Thread [Next in Thread]