Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsSyntax Highlighting in Wizard previewer
https://www.eclipse.org/forums/index.php/mv/msg/10558/32633/#msg_32633
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]]>Sheela2008-10-06T05:27:21-00:00Re: Syntax Highlighting in Wizard previewer
https://www.eclipse.org/forums/index.php/mv/msg/10558/32669/#msg_32669
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
>]]>Alex Panchenko2008-10-06T06:15:08-00:00Re: Syntax Highlighting in Wizard previewer
https://www.eclipse.org/forums/index.php/mv/msg/10558/32736/#msg_32736
Thanks for your reply. I ll try your suggestion