previousLine ?-w win?
Move insertion point to the previous line, except if there is a selection, in which case the insertion point is moved to the beginning of the selection. This proc implements the up-arrow functionality.