Add columnCount variables to cursor::moveLeft and moveRight and related methods

Closes #3125