• 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
undo.c 13.5 KB