Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Using scanner and text framework without a widget
Using scanner and text framework without a widget [message #333491] Mon, 15 December 2008 11:09
Eclipse UserFriend
Originally posted by: bsv.datatel.com

I have a source code viewer built on top of a scanner that extends
RuleBasedScanner.

Is it possible to run the scanner against an IDocument, have it inject
tokens that hold TextAttribute data, and then walk over that data and
spit out, say, an HTML file? That would be instead of handing it off to
a StyledText widget for display.

I'm trying to capture the formatted code in a portable non-widget format
for embedding in a report (using BIRT).

Has anyone ever done anything like this?

Thanks
Ben
Previous Topic:Update layout on AbstractOverridableTabListPropertySection
Next Topic:building update site
Goto Forum:
  


Current Time: Tue Mar 11 07:20:42 EDT 2025

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

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

Back to the top