- 27 Jan, 2009 39 commits
-
-
Michael Stefaniuc authored
-
Jeremy White authored
-
Paul Vriens authored
-
Ge van Geldorp authored
-
Alexandre Julliard authored
-
Alexandre Julliard authored
-
Dylan Smith authored
EM_FINDTEXT should be able to find end of line characters, but currently it doesn't.
-
Dylan Smith authored
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.
-
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.
-
Austin English authored
-
Austin English authored
-
Austin English authored
-
Rico Schüller authored
-
Rico Schüller authored
-
Rico Schüller authored
-
Marcus Meissner authored
-
Marcus Meissner authored
-
Marcus Meissner authored
-
Austin English authored
-
Ricardo Filipe authored
-
Ricardo Filipe authored
-
Juan Lang authored
-
Juan Lang authored
cryptui: Export all selected certificates when requested from the certificate manager, not just the first one.
-
Juan Lang authored
-
Juan Lang authored
-
Juan Lang authored
-
Juan Lang authored
-
Juan Lang authored
-
Juan Lang authored
-
Juan Lang authored
-
Juan Lang authored
-
Juan Lang authored
-
Juan Lang authored
-
Juan Lang authored
-
- 26 Jan, 2009 1 commit
-
-
David Adam authored
-