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?

I guess Lothar is looking for something like "Preview Control" we have in Syntax Highlighting preference page, right?

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

Kind Regards,
Andrey

----- Original Message -----
From: "Jae Gangemi" <jgangemi@xxxxxxxxx>
To: "DLTK Developer Discussions" <dltk-dev@xxxxxxxxxxx>
Sent: Friday, October 3, 2008 12:20:35 AM GMT +06:00 Almaty, Novosibirsk
Subject: Re: [Dltk-dev] Can DLTK be used to do syntax highlighting in a multiline text field?


  what do you mean by edit?

  if you are looking to just be able to specify syntax highlighting for something like:

  var = "some multi-line
  value"

  then you would need to define a Rule in your scanner that handles syntax highlighting that could match your mutli-line pattern and associate the correct IToken with it.

On Thu, Oct 2, 2008 at 1:13 PM, Lothar Werzinger <lothar@xxxxxxxxxxxxxx> wrote:
We have an application that stores script snippets in multiline text fields.
Can DLTK be used to edit these snippets doing the syntax highlighting in a
multiline text field?

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
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev



--
-jae

_______________________________________________ dltk-dev mailing list dltk-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/dltk-dev

Back to the top