Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 16: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 Apr 16 07:08:07 GMT 2024

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

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

Back to the top