Show error on empty register for pasteBefore, as with paste, and also re-arrange some declarations for consistency.
Show error on empty register for pasteBefore, as with paste, and also re-arrange some declarations for consistency.

DickJ/kate,jfmcarreira/kate,hlamer/kate,jfmcarreira/kate,cmacq2/kate,DickJ/kate,hlamer/kate,hlamer/kate,DickJ/kate,hlamer/kate,hlamer/kate,hlamer/kate,cmacq2/kate,DickJ/kate,sandsmark/kate,hlamer/kate,hlamer/kate,sandsmark/kate,sandsmark/kate,cmacq2/kate,hlamer/kate,hlamer/kate,jfmcarreira/kate,sandsmark/kate