Brian Luft
Brian Luft
I had given some thought to how tvision on modern platforms might support extended colors in palettes, as I'm interested in that too. I'm willing to subclass all the controls...
Oh, I have a second unrelated use case in TMBASIC. I want the user to be able to write TUI apps or full-screen console apps (e.g. colorful text-based games like...
> But not all hope is lost. The Palette API is not only about the TPalette type, but also the uchar TView::mapColor(uchar color) method ... bypassing the Palette API implies...
FWIW, I'm probably already going to subclass all of the views that ship with tvision to add hooks for the BASIC bindings. It may be too much hassle for apps...
I updated to tvision commit 79182b1a742a9944f89e632cf524b26d940e805f and ran a build and test on all platforms, no problems at all. Looks good! I'll give the new capabilities a try.
I whipped up a quick 256-color test. Looks good! I tested both overriding `mapColor` and passing `TColorAttr` to `TDrawBuffer`. Nice work! 
For what it's worth, I have found that basic syntax coloring is surprisingly easy to hack into a `TEditor` subclass if you already have a lexer. Scintilla/turbo seems to be...
It's very possible that you're right. I see what you mean about the undo support; I hadn't tried it out, but yeah, that implementation really only works in the simplest...
Yeah, I noticed the performance problem after opening this issue. It really is quite sluggish. The performance scales inversely with the size of the console window and also the size...
With some more testing, I have a hunch that the mouse wheel problem is related to the performance problem. I can't tell for sure, but it seems like the wheel...