softwrap: save and restore firstcolumn when copying text
Copying text involves first cutting it and then quickly pasting it back. However, cutting the text may change firstcolumn if the mark is offscreen. To keep the viewport unchanged, copy_text() has to save and restore not just edittop, but firstcolumn as well.
Showing
+2 -0
Please register or sign in to comment