Hello,
The behaviour of the editor is to retain the column on which the cursor is and to place the cursor on the same column (if possible) if the user presses the UP or DOWN arrow. But this does not happen every time. If it is at the end of a line and you press RIGHT and then UP or DOWN, it does not retain the first column afterwards.
Let's say you have something like:
bUpdate=0;
ds->accp.x=(long)(short)LOWORD(lParam);
ds->accp.y=(long)(short)HIWORD(lParam);
dx=ds->accp.x-ds->pccp.x;
dy=ds->accp.y-ds->pccp.y;
and the cursor is at the end of the first line. You press the RIGHT arrow key and the cursor goes, of course, on the FIRST column of the next line. Now, if you press the UP (or DOWN) arrow key, you would expect, as it passes on the previous (or next) line, to remain on the first column (at least that's what I expect... maybe it's just me who feels this way), but it does not behave so, instead it gets on the column where it was at the end of the first line.