scrollCursorToBottom tells any parent scroll layout to scroll to get cursor at bottom of view to extent possible -- returns true if scrolled.
()
| 899 | // scrollCursorToBottom tells any parent scroll layout to scroll to get cursor |
| 900 | // at bottom of view to extent possible -- returns true if scrolled. |
| 901 | func (ed *Editor) scrollCursorToBottom() bool { |
| 902 | curBBox := ed.cursorBBox(ed.CursorPos) |
| 903 | return ed.scrollToBottom(curBBox.Max.Y) |
| 904 | } |
| 905 | |
| 906 | // scrollToVerticalCenter tells any parent scroll layout to scroll to get given |
| 907 | // vertical coordinate to center of view to extent possible -- returns true if |
no test coverage detected