Add methods for reading and manipulating horizontal scollbars in text editor.

Deprecate old methods to prefer methods with Vertical/Horizontal in their names.
Merge pull request #2492 from jdf/master

Add methods for reading and manipulating horizontal scollbars in text editor.