- 27 Jan, 2009 7 commits
-
-
Dylan Smith authored
EM_FINDTEXT should be able to find end of line characters, but currently it doesn't.
-
Dylan Smith authored
EM_GETTEXTRANGE allows the start character offset and end characters offset to be used to specify the range of text to retrieve. If the start offset is in the middle of an end of paragraph run (i.e. \r\n), then it should only retrieve the characters after the specified character offset.
-
Dylan Smith authored
EM_GETTEXTRANGE should be able to get part of the end of paragraph run, for instance just the line feed in a carraige return line feed pair.
-
Dylan Smith authored
I found that ME_FindItemAtOffset and ME_CursorFromCharOfs are used almost identically, except for how they handle a character offset that is between a carriage return and line feed. In this case ME_CursorFromCharOfs sets the cursor's run offset to 0, but ME_FindItemAtOffset instead returns the next run which is what was causing ME_LINELENGTH to incorrectly return the length of the next line.
-
Dylan Smith authored
Previously this wasn't properly tested for, since all the lines had text of the same length, so it wasn't properly testing to see which line length it was getting.
-
Dylan Smith authored
riched32.dll does preserve the carriage returns and line feeds unlike later versions of the richedit control, however the tests previously missed the fact that a sequence of carriage returns followed by a line feed (e.g. \r\r\r\n) can actually cause multiple paragraph breaks.
-
Dylan Smith authored
Several carriage returns followed by a line break were being handled as a single paragraph break, when actually native richedit controls may count this as several line breaks.
-
- 16 Jan, 2009 2 commits
-
-
Dylan Smith authored
-
Dylan Smith authored
Using the WS_VSCROLL style causes the ES_AUTOVSCROLL option to be set, and using the WS_HSCROLL style causes the ES_AUTOHSCROLL flag to be set (except with richedit v1.0).
-
- 12 Jan, 2009 1 commit
-
-
Dylan Smith authored
-
- 10 Dec, 2008 1 commit
-
-
Paul Vriens authored
-
- 09 Dec, 2008 1 commit
-
-
Paul Vriens authored
-
- 27 Oct, 2008 2 commits
-
-
Dylan Smith authored
-
Dylan Smith authored
-
- 22 Oct, 2008 1 commit
-
-
Dylan Smith authored
For some reason EM_POSFROMCHAR was returning 0 when the position was equal to the end of the text, or beyond the end of the text. Instead it should use the position at the end of the text for both these cases. The x value was also seen to be offset by 1 according to the tests.
-
- 16 Oct, 2008 1 commit
-
-
Michael Stefaniuc authored
-
- 27 Jun, 2008 1 commit
-
-
Dylan Smith authored
-
- 24 Jun, 2008 2 commits
-
-
Alex Villacís Lasso authored
-
Alex Villacís Lasso authored
Add tests for EM_POSFROMCHAR for 1.0 and 2.0.
-
- 02 May, 2008 1 commit
-
-
Alexandre Julliard authored
-
- 01 May, 2008 1 commit
-
-
Alex Villacís Lasso authored
-
- 30 Apr, 2008 1 commit
-
-
Alex Villacís Lasso authored
-
- 29 Apr, 2008 6 commits
-
-
Alex Villacís Lasso authored
richedit: Implement rule that in 1.0 emulation, a single CR that terminates the text is NOT a line break. Fix riched32 test that now succeed.
-
Alex Villacís Lasso authored
Document remaining uses of bEmulateVersion10 and other checks for CRLF in editor.c. Make RTF reader emit a \r or a \r\n according to emulation, not a \n, which breaks streaming tests. Remove todo_wine from a bunch of riched32 tests that now succeed.
-
Alex Villacís Lasso authored
richedit: Remove indication for bCRLF, now that ME_GetTextW() knows how to honor CR and LF counters. EM_GETTEXTRANGE and EM_GETSELTEXT are affected by this, so include tests to ensure no behavior was broken.
-
Alex Villacís Lasso authored
Add fixup to ME_FindItemAtOffset(), fixes crash by null-pointer access. Add tests for EM_LINELENGTH.
-
Alex Villacís Lasso authored
Add richedit 1.0 tests for EM_GETLINE.
-
Alex Villacís Lasso authored
Text streamout now honors CR and LF counters. Tests to pin down required EM_STREAMOUT behavior.
-
- 24 Apr, 2008 2 commits
-
-
Alex Villacís Lasso authored
-
Alex Villacís Lasso authored
-
- 22 Apr, 2008 1 commit
-
-
Alex Villacís Lasso authored
-
- 21 Apr, 2008 2 commits
-
-
Alex Villacís Lasso authored
riched32: Implement a portion of suggested interpretation of CRLF handling for richedit 1.0 emulation. Fixes a few todos introduced by previous patch.
-
Alex Villacís Lasso authored
-
- 14 Dec, 2007 1 commit
-
-
Alexandre Julliard authored
-
- 12 Dec, 2007 1 commit
-
-
Alex Villacís Lasso authored
-
- 07 Dec, 2007 1 commit
-
-
Alexandre Julliard authored
-
- 06 Dec, 2007 1 commit
-
-
Alexandre Julliard authored
-
- 23 Oct, 2007 1 commit
-
-
Alex Villacís Lasso authored
-
- 14 Sep, 2006 1 commit
-
-
Alexandre Julliard authored
-
- 25 Aug, 2006 1 commit
-
-
Louis Lenders authored
-