You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
class AsciiIo.ScrollRegion
|
|
|
|
constructor: (@top, @bottom) ->
|
|
|
|
setTop: (@top) ->
|
|
|
|
setBottom: (@bottom) ->
|
|
|
|
getTop: ->
|
|
@top
|
|
|
|
getBottom: ->
|
|
@bottom
|
|
|
|
save: ->
|
|
@savedTop = @top
|
|
@savedBottom = @bottom
|
|
|
|
restore: ->
|
|
@top = @savedTop
|
|
@bottom = @savedBottom
|
|
|