easy one liner: `cur = if @startUp then @startUpPos else @editor.getCursorBufferPosition()`