Einzelnen Beitrag anzeigen

Benutzerbild von toms
toms
(CodeLib-Manager)

Registriert seit: 10. Jun 2002
4.648 Beiträge
 
Delphi XE Professional
 
#10

Re: Richedit schnell viele farbige Zeilen einfügen zu langsa

  Alt 17. Feb 2009, 13:06
Auf delphiforfun gibt es ein Beispiel für ein schnelles Highlighten von Wörtern.

Zitat:
Applying syntax formatting to a sizable Richedit file is quite slow. The technique used here is to intercept the WindowProc procedure used by TRichedit and let it paint the window which we then scan for words to by highlighted and rewrite them in the specified color.[...]
Thomas
  Mit Zitat antworten Zitat