Hi Richard,
the simple answer is: no.
The reason why: the overall complexity of the problem is focussed on a single point, a view part:
a) different codes including a not native code of the OS (UTF),
b) formatting rules following computer language specifications (grammars, regular expressions, formal automation theory)
c) graphical representations (fonts, palettes, painting in a steadily expanding complexity in its own, multi monitors with individual scales and resolutions in a universe of different devices)
d) Visual Age parts architecture (visual compositions in specialised views) to automatically generate code and handle data updates at runtime.
So recently the formal representation part (lexical) has been isolated from Scintilla - to reduce even this particular complexity.
To begin with: attempt to keep formatting (structuring rules), optical representation (coloring, etc) and codes (UTF etc) apart.
And remember: Scintilla and formatting target at a general (non Smalltalk) approach and thus cannot be simple, by definition.
To integrate Scintilla in a specialised integrated development platform like Smalltalk is an art in itself.
If you are not impressed, just start VAST under Linux to estimate the comfort which has been achieved in the current Windows implementation, which might have been forgotten when we are usually not developing code near to the ancient original environment (30 years ago?), which followed the then impressive X-Motif architecture.
This cannot be achieved by a simple widgetClass method.
-
M