riched20: Speed up text insertion.
commitd82af6f7115b326a75451cbf2de171846d838739
authorPhil Krylov <phil@newstar.rinet.ru>
Tue, 10 Jan 2006 11:10:49 +0000 (10 12:10 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 10 Jan 2006 11:10:49 +0000 (10 12:10 +0100)
treefe080366ccefae0e84249006b153a4c43d6648ee
parenta8b71c2727c67ccd6df2d78f85561684eb6d31d2
riched20: Speed up text insertion.
Optimized reading large texts into RichEdit to be an O(n) order
algorythm instead of O(n^2) by removing extraneous conversions of
character offsets to run offsets.
dlls/riched20/caret.c
dlls/riched20/editor.h
dlls/riched20/para.c
dlls/riched20/run.c