U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » LineEdit, EditFields, DocEdit » How to do fast Append & scroll in LineEdit with MT?
Re: How to do fast Append & scroll in LineEdit with MT? [message #45854 is a reply to message #45843] Wed, 13 January 2016 15:31 Go to previous messageGo to previous message
cbpporter is currently offline  cbpporter
Messages: 1428
Registered: September 2007
Ultimate Contributor
I don't really know what that profiling info is about, but for what I need it to do (capture medium size outputs in LineEdit from a different thread), the method I detailed above:

edtPane.Insert(edtPane.GetTotal(), str);
edtPane.ScrollEnd();


Is the only one that has great performance, so I consider this issue closed for me. I get a 10-20% penalty for capturing data to LineEdit vs. not capturing, so that is perfectly acceptable.

Copy and pasting the code from TheIDE behaved horribly though, maybe I did something wrong.

And there seems to be nothing wrong with LineEdit, as long as you use it right.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: What do you think about this approach to making CodeEditor more user extendable?
Next Topic: NotNull can be fooled
Goto Forum:
  


Current Time: Sun Apr 26 10:59:45 GMT+2 2026

Total time taken to generate the page: 0.00578 seconds