• Dylan Smith's avatar
    richedit: Use ME_EnsureVisible to implement EM_SCROLLCARET. · 6901e0ce
    Dylan Smith authored
    The code for the ME_EnsureVisible function does exactly what
    EM_SCROLLCARET does, yet this code is duplicated in order to handle
    this message.  It is simpler to just use the existing function to
    implement the message, and avoid internally sending the EM_SCROLLCARET
    when this function is available.
    6901e0ce
caret.c 48.5 KB