richedit: Directly get start and end of text on Ctrl-Home or Ctrl-End.
commit71d797c55c07247771e2dae908fa2a8c38de4e6c
authorDylan Smith <dylan.ah.smith@gmail.com>
Sat, 7 Feb 2009 18:20:31 +0000 (7 13:20 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 9 Feb 2009 12:05:12 +0000 (9 13:05 +0100)
treea1902598d423fd6c4ab00141e2e8c25fb3495799
parentc2c2c1117e2a78830a52a8fd8091a7ce1451b54f
richedit: Directly get start and end of text on Ctrl-Home or Ctrl-End.

Previously it found the start or end by traversing the linked lists of
run, rows, paragraphs, and cells from the current position of the
cursors.  Clearly it is better to get the start or end directly to make
it a constant time operation.
dlls/riched20/caret.c