> Yep, but there is the complete editor example in test/editor.cxx.
> Isn't there even an easy example in the docs?
>
> I did such a thing in my commercial app. by subclassing Fl_Text_Display.
> The nice thing is that you can add another text buffer, fill it with
> anything you like, and then switch buffers (show the alternate buffer
> in the widget) with the text you want to show. This could be a list
> of all lines matching a search (that's one of the features I used).

Thanks for the info there, I am wondering though in the extended case of
this idea would I be getting into regular expressions as an ideal
text handling method? I mean on the high level, specific to the company
needs, something could be quite quickly implemented, but catering for
other use cases would/should include more sophistication ...?
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to