Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tm4e-dev] Tm4e as standalone source viewer

Hi,

I don't think TM4E provides directly the API to colorize directly a StyledText widget, with something like `TMUiPlugin.colorize(styleText, "source.js")` or `TMUiPlugin.computeStyleRanges(styledText, "source.js")`. It would be a good thing if you could develop and contribute such API to TM4E. Looking at TMPresentationReconcilier and trying tp extract some reusable finer-grained methods would be the best entry-point.

Cheers.

Back to the top