Skip to main content



      Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Syntax Highlighting in Wizard previewer
Syntax Highlighting in Wizard previewer [message #32633] Mon, 06 October 2008 01:27 Go to next message
Eclipse UserFriend
Hi,

I have an eclipse based editor, which has a project and file wizard. My
file wizard allows a user to create a new empty script or pick an already
available script template. These templates are displayed in a previewer in
the wizard. My question is: is there some way to apply syntax highlighting
to the code visible in the previewer? just as we do in the preference
pages for preview text.

Thanks in Advance

Sheela
Re: Syntax Highlighting in Wizard previewer [message #32669 is a reply to message #32633] Mon, 06 October 2008 02:15 Go to previous messageGo to next message
Eclipse UserFriend
Hi Sheela,

You can look at the following methods in the DLTK codebase:
org.eclipse.dltk.ui.preferences.AbstractScriptEditorColoring ConfigurationBlock.createPreviewer(Composite)
and
org.eclipse.dltk.debug.ui.breakpoints.ScriptBreakpointProper tyPage.createExpressionEditor(Composite)

Regards,
Alex


Sheela wrote:
> Hi,
>
> I have an eclipse based editor, which has a project and file wizard. My
> file wizard allows a user to create a new empty script or pick an
> already available script template. These templates are displayed in a
> previewer in the wizard. My question is: is there some way to apply
> syntax highlighting to the code visible in the previewer? just as we do
> in the preference pages for preview text.
>
> Thanks in Advance
>
> Sheela
>
Re: Syntax Highlighting in Wizard previewer [message #32736 is a reply to message #32669] Mon, 06 October 2008 08:04 Go to previous message
Eclipse UserFriend
Hi Alex,

Thanks for your reply. I ll try your suggestion

Regards,
Sheela
Previous Topic:Debugging Tcl
Next Topic:[BUILD] R1.0-I
Goto Forum:
  


Current Time: Wed Apr 16 02:52:38 EDT 2025

Powered by FUDForum. Page generated in 0.03127 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top