Added HalfPageUp, HalfPageDown, ScrollTop and ScrollBottom functions. I also added a scrollAmount function, which is not exported in the package since I was not sure if you wanted to make that available to the user. scrollAmount scrolls by the number of rows given. If the number is negative, then it scrolls up, if the number is positive then it will scroll down.
I did also have to add a floor function in uitls.go for the HalfPageUp/Down functions.
Added
HalfPageUp
,HalfPageDown
,ScrollTop
andScrollBottom
functions. I also added ascrollAmount
function, which is not exported in the package since I was not sure if you wanted to make that available to the user.scrollAmount
scrolls by the number of rows given. If the number is negative, then it scrolls up, if the number is positive then it will scroll down. I did also have to add a floor function inuitls.go
for theHalfPageUp/Down
functions.For issue #219