Add row count docs
Reorder return values of getSelectedBufferRanges

The implementation does not depend on a specific order, just the test
Remove unnecessary deprecated methods