• Dylan Smith's avatar
    richedit: Made sure the caret position is stored when moving up/down. · db95d69f
    Dylan Smith authored
    The caret's x position is stored in ME_TextEditor.nUDArrowX so that when
    the caret is moved up or down, it will stay along the same horizontal
    position, or at the end of a line.  Unfortunately, the value stored in
    nUDArrowX was being unconditionally discarded in ME_ArrowKey, preventing
    it from serving its purpose.
    db95d69f
caret.c 38.8 KB