crash.software
Projects
Pull Requests
Issues
Builds
termdash
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
termdash
Files
🤬
Sign In
9a82474a
ROOT
/
widgets
/
text
/
scroll.go
Search
History
166 lines
|
ISO-8859-1
|
5 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
scrollTracker
scroll
:
int
scrollPage
:
int
first
:
int
state
:
rollState
newScrollTracker
(opts *options)
:
*scrollTracker
rollState
rollingDisabled
(st *scrollTracker, lines, height int)
:
rollState
rollToEnd
(st *scrollTracker, lines, height int)
:
rollState
rollingPaused
(st *scrollTracker, lines, height int)
:
rollState
lastLineVisible
(start, lines, height int)
:
bool
normalizeScroll
(first, lines, height int)
:
int
*scrollTracker
upOneLine
()
downOneLine
()
upOnePage
()
downOnePage
()
doScroll
(lines, height int)
:
int
firstLine
(lines, height int)
:
int
All occurrences
Please wait...
Page is in error, reload to recover