- 27 Apr, 2009 1 commit
-
-
Massimo Del Fedele authored
-
- 24 Apr, 2009 1 commit
-
-
Dylan Smith authored
-
- 09 Feb, 2009 1 commit
-
-
Dylan Smith authored
These functions were probably previously needed because of some wierd special handling of backspace characters, but currently there is no reason why the nLen field can't be accessed directly. Having to functions that just access the string length field just causes slightly more effort for someone to look at the code, because they need to enter the function to find out what it actually is doing.
-
- 06 Feb, 2009 1 commit
-
-
Dylan Smith authored
The ME_RunOfsFromCharOfs function finds the paragraph before finding the run and offset within the run, so the function may as well be able to return this paragraph to the caller. Many callers to the function instead find the paragraph from the run, which ends up unnecessarily traversing a linked list of runs within the paragraph.
-
- 28 Jan, 2009 1 commit
-
-
Dylan Smith authored
Previously a count of the carraige returns and line feeds were stored for end of paragraph runs, and a paragraph sign was stored as the actual string. This was causing many special cases where the length of the run needed to be determined differently if the run was or wasn't an end of paragraph run. There wasn't any use for storing the paragraph sign unless some drawing code gets commented out to allow the end paragraphs to be shown, therefore I changed the code to store the actual string that gets retrieved by WM_GETTEXT.
-
- 27 Jan, 2009 1 commit
-
-
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.
-
- 06 Nov, 2008 1 commit
-
-
Andrew Talbot authored
-
- 01 Oct, 2008 4 commits
-
-
Dylan Smith authored
-
Dylan Smith authored
This code was simply missing, since the table border properties are already stored and displayed.
-
Dylan Smith authored
The table properties are streamed out at the start of the table for non-nested tables, and at the end of the table for nested tables. The assertion caught the fact that I didn't get the start of the table row for nested tables before trying to stream out the properties. The call to ME_GetTableRowStart will handle both of these cases by getting the table row start paragraph and asserting that it is found. This call was also the reason for removing the const qualifier on one of the parameters.
-
Dylan Smith authored
Static sized buffers are used for storing the colours and fonts, so there needs to be a check to prevent these buffer from overflowing.
-
- 18 Aug, 2008 3 commits
-
-
Dylan Smith authored
-
Dylan Smith authored
-
Dylan Smith authored
-
- 05 Aug, 2008 1 commit
-
-
Dylan Smith authored
-
- 09 Jul, 2008 1 commit
-
-
Dylan Smith authored
The PARAFORMAT structure has a bit in wEffects to indicate whether the paragraph is a table or not, so this should be used instead of a private bTable value, since this structure can be retrieved with EM_GETPARAFORMAT.
-
- 29 Apr, 2008 1 commit
-
-
Alex Villacís Lasso authored
Text streamout now honors CR and LF counters. Tests to pin down required EM_STREAMOUT behavior.
-
- 17 Mar, 2008 1 commit
-
-
Eric Pouech authored
richedit: Store shift-enter (keyboard) and \line (rtf) as end of row (and emit \line while saving in RTF).
-
- 04 Feb, 2008 1 commit
-
-
Bang Jun-young authored
-
- 17 Sep, 2007 1 commit
-
-
Alex Villacís Lasso authored
-
- 17 Aug, 2007 1 commit
-
-
Andrew Talbot authored
-
- 29 Nov, 2006 1 commit
-
-
Dmitry Timoshkov authored
-
- 14 Oct, 2006 1 commit
-
-
Hans Leidekker authored
-
- 23 May, 2006 1 commit
-
-
Jonathan Ernst authored
-
- 10 May, 2006 1 commit
-
-
Michael Stefaniuc authored
Some HeapFree's are hidden behind macros. Found by smatch.
-
- 05 Feb, 2006 2 commits
-
-
Kevin Koltzau authored
Somewhat improves thread safety.
-
Kevin Koltzau authored
-
- 04 Feb, 2006 1 commit
-
-
Phil Krylov authored
-
- 11 Oct, 2005 1 commit
-
-
Phil Krylov authored
-
- 12 Sep, 2005 1 commit
-
-
Alexandre Julliard authored
-
- 11 Aug, 2005 1 commit
-
-
Phil Krylov authored
some streamed text.
-
- 26 Jul, 2005 1 commit
-
-
Phil Krylov authored
whole document.
-
- 22 Jul, 2005 1 commit
-
-
Phil Krylov authored
plain text output.
-
- 21 Jul, 2005 2 commits
-
-
Stefan Huehner authored
-
Phil Krylov authored
being used. This emulation (introduced in M$ RichEdit 3.0) counts paragraph endings as 2 characters (CR+LF) instead of 1 (CR).
-
- 05 Jul, 2005 2 commits
-
-
Phil Krylov authored
-
Phil Krylov authored
-
- 20 Jun, 2005 1 commit
-
-
Krzysztof Foltman authored
- Initialize *pcb to a large value before calling the stream-out callback (to make applications that don't set *pcb at all happy). - Don't flush the output stream when error condition is set.
-
- 12 Jun, 2005 1 commit
-
-
Krzysztof Foltman authored
-
- 24 Mar, 2005 1 commit
-
-
Phil Krylov authored
conversion and the detection of the default font's codepage.
-