kooloveme / thtmlviewer

Automatically exported from code.google.com/p/thtmlviewer
Other
0 stars 0 forks source link

Add AppendFromString Function #182

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying to use a THTMLViewer as a ChatMemo, such as seen in AOL's Instant 
Messenger.  This is the most ideal component for this use, displaying HTML-rich 
chats, but I've hit one big problem.  There is no AppendFromString function 
only a LoadFromString function.  Thus, chats tend to cause slowdown after a 
while because every time you add a new line, it necessitates a reload of the 
entire document.

Please add a AppendFromString function, which converts the inserted string into 
HTML and then adds it to the previously converted HTML without reprocessing the 
entire document.  You could also subclass the THTMLView into a THTMLMemo if any 
extensive changes are needed to make this possible.

Thanks!

Original issue reported on code.google.com by evoshr...@gmail.com on 24 Aug 2012 at 3:20

GoogleCodeExporter commented 9 years ago
This has been requested several times before, but THtmlViewer is not prepared 
for iterative rendering. I don't have any idea how to implement it into the 
current THtmlViewer.

Therefore I asked for discussion in issue 151.

Original comment by OrphanCat on 11 Sep 2012 at 7:24