FLTK logo

[fltk.general] Re: Color in Fl_Text_Display

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Color in Fl_Text_Display supsm17 Nov 20, 2021  
  It should probably be "not a lot." A few hundred lines would be a LOT for my program, so that probably shouldn't be a problem)

On Friday, November 19, 2021 at 4:29:24 AM UTC-8 Ian MacArthur wrote:
On Friday, 19 November 2021 at 07:55:33 UTC sups... wrote:
Thank you, I am actually using 1.3.6, but Fl_Browser works well and the examples were also very helpful.

OK, that's good.
How big does your list get, how many lines of text? 
Internally, Fl_Browser uses a system of linked lists to manage the line entries, so if you have a very long file, with "many" lines, it may become unwieldy in use.

Though, with modern CPU's, I'm not sure what actually constitutes "many lines" these days - I'd assume many thousands of lines, but don't actually know.
In practice, where I have done this, I've tended to hold a few thousand lines in the Fl_browser and beyond that, as more lines are added, pop lines off the top of the browser into a log file (then I can read them back later if I really need to; in practice that doesn't seem to happen as much as I imagined it might!)


--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/78634cdc-0af0-44e5-99fa-ad61dbc715dan%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.