1. 27 Apr, 2009 1 commit
  2. 24 Apr, 2009 1 commit
  3. 09 Feb, 2009 1 commit
    • Dylan Smith's avatar
      richedit: Removed ME_StrLen and ME_StrVLen field access functions. · 5f15de06
      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.
      5f15de06
  4. 06 Feb, 2009 1 commit
    • Dylan Smith's avatar
      richedit: Get the paragraph with ME_RunOfsFromCharOfs. · 12ca50db
      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.
      12ca50db
  5. 28 Jan, 2009 1 commit
    • Dylan Smith's avatar
      richedit: Actually store end of line string for end paragraph runs. · 5d74f583
      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.
      5d74f583
  6. 27 Jan, 2009 1 commit
    • Dylan Smith's avatar
      richedit: Removed redundant ME_FindItemAtOffset using ME_RunOfsFromCharOfs. · 61308257
      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.
      61308257
  7. 06 Nov, 2008 1 commit
  8. 01 Oct, 2008 4 commits
  9. 18 Aug, 2008 3 commits
  10. 05 Aug, 2008 1 commit
  11. 09 Jul, 2008 1 commit
  12. 29 Apr, 2008 1 commit
  13. 17 Mar, 2008 1 commit
  14. 04 Feb, 2008 1 commit
  15. 17 Sep, 2007 1 commit
  16. 17 Aug, 2007 1 commit
  17. 29 Nov, 2006 1 commit
  18. 14 Oct, 2006 1 commit
  19. 23 May, 2006 1 commit
  20. 10 May, 2006 1 commit
  21. 05 Feb, 2006 2 commits
  22. 04 Feb, 2006 1 commit
  23. 11 Oct, 2005 1 commit
  24. 12 Sep, 2005 1 commit
  25. 11 Aug, 2005 1 commit
  26. 26 Jul, 2005 1 commit
  27. 22 Jul, 2005 1 commit
  28. 21 Jul, 2005 2 commits
  29. 05 Jul, 2005 2 commits
  30. 20 Jun, 2005 1 commit
    • Krzysztof Foltman's avatar
      - Fix a warning caused by the TAB patch. · cb836344
      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.
      cb836344
  31. 12 Jun, 2005 1 commit
  32. 24 Mar, 2005 1 commit