Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] Can DLTK be used to do syntax highlighting in a multiline text field?

On Thursday 02 October 2008, Andrey Platov wrote:
> I guess Lothar is looking for something like "Preview Control" we have in
> Syntax Highlighting preference page , right?

That is basically what I had in mind. The scrip snippet is only one of many 
items on the "page" of our application. Currently we use just a regular SWT 
multiline edit. But of course that is not as user friendly as it could be ;-)
So basically we are looking into DLTK to provide the parsing/syntax 
highlighting for us. Especially as we might have to support different 
scripting languages in the future (currently our snippets are python only).

> This looks to be doable if you're OK to replace multi-line Text control
> with SourceViewer.

Sounds easy enough. I guess I can look at the code for "Preview Control" to 
see how it's done?

Lothar
-- 
Lothar Werzinger Dipl.-Ing. Univ.
framework & platform architect
Tradescape Inc. - Enabling Efficient Digital Marketplaces
1754 Technology Drive, Suite 128
San Jose, CA 95110
web: http://www.tradescape.biz


Back to the top