Sweden-Number/dlls/riched20
Dylan Smith 61308257f2 richedit: Removed redundant ME_FindItemAtOffset using ME_RunOfsFromCharOfs.
The two functions ME_FindItemAtOffset and ME_RunOfsFromCharOfs were almost
identically used, since ME_FindItemAtOffset was always used to find a run.
The only difference was how they returned the offset within the run for an
end of paragraph run.

For ME_FindItemAtOffset it would return the next run if it was in between \r
and \n. ME_RunOfsFromCharOfs would instead return an nOffset of 0 for end
paragraph runs.  This subtle difference introduced bugs, so I decided to
avoid having special case in this function when creating this patch, and
instead let the caller handle this case.
2009-01-27 11:21:33 +01:00
..
tests richedit: Added test for scroll position after EM_SETTEXTEX. 2009-01-22 15:28:22 +01:00
Makefile.in richedit: Implemented ITextServices TxGetText and TxSetText. 2009-01-21 11:55:36 +01:00
caret.c richedit: Removed redundant ME_FindItemAtOffset using ME_RunOfsFromCharOfs. 2009-01-27 11:21:33 +01:00
clipboard.c riched20: Remove superflous casts. 2008-11-04 11:26:12 +01:00
context.c richedit: Implemented ITextServices_TxSendMessage. 2009-01-21 11:55:22 +01:00
editor.c richedit: Removed redundant ME_FindItemAtOffset using ME_RunOfsFromCharOfs. 2009-01-27 11:21:33 +01:00
editor.h richedit: Removed redundant ME_FindItemAtOffset using ME_RunOfsFromCharOfs. 2009-01-27 11:21:33 +01:00
editstr.h richedit: Removed some unused invalidation code. 2009-01-22 15:28:22 +01:00
list.c riched20: Declare some functions static. 2009-01-14 12:40:40 +01:00
ocr_reverse.cur riched20: Implement ECO/EM SELECTIONBAR. 2007-12-17 11:34:40 +01:00
paint.c richedit: Removed some unused invalidation code. 2009-01-22 15:28:22 +01:00
para.c richedit: Used ITextHost methods to avoid using window handle directly. 2009-01-21 11:54:43 +01:00
reader.c riched20: Declare some functions static. 2009-01-19 13:36:26 +01:00
res.h riched20: Implement ECO/EM SELECTIONBAR. 2007-12-17 11:34:40 +01:00
riched20.spec
richole.c riched20: Return a long in fnGetObjectCount. 2009-01-22 12:03:17 +01:00
row.c riched20: Removed more dead code. 2007-02-09 11:48:46 +01:00
rtf.h riched20: Declare some functions static. 2009-01-19 13:36:26 +01:00
run.c richedit: Removed redundant ME_FindItemAtOffset using ME_RunOfsFromCharOfs. 2009-01-27 11:21:33 +01:00
string.c riched20: Declare some functions static. 2009-01-19 13:36:26 +01:00
style.c richedit: Implemented ITextServices_TxSendMessage. 2009-01-21 11:55:22 +01:00
table.c richedit: Used ITextHost methods to avoid using window handle directly. 2009-01-21 11:54:43 +01:00
txthost.c richedit: Prevented using NULL hwnd for certain operations. 2009-01-21 11:55:03 +01:00
txtsrv.c richedit: Implemented ITextServices_TxGetVScroll & TxGetHScroll. 2009-01-22 15:28:22 +01:00
undo.c richedit: Make sure border properties are saved for undo/redo. 2008-10-01 11:39:56 -05:00
version.rc riched20: Implement ECO/EM SELECTIONBAR. 2007-12-17 11:34:40 +01:00
wrap.c richedit: Used ITextHost methods to avoid using window handle directly. 2009-01-21 11:54:43 +01:00
writer.c richedit: Removed redundant ME_FindItemAtOffset using ME_RunOfsFromCharOfs. 2009-01-27 11:21:33 +01:00