scrollCursorToRight tells any parent scroll layout to scroll to get cursor at right of view to extent possible -- returns true if scrolled.
()
| 940 | // scrollCursorToRight tells any parent scroll layout to scroll to get cursor |
| 941 | // at right of view to extent possible -- returns true if scrolled. |
| 942 | func (ed *Editor) scrollCursorToRight() bool { |
| 943 | curBBox := ed.cursorBBox(ed.CursorPos) |
| 944 | return ed.scrollToRight(curBBox.Max.X) |
| 945 | } |
no test coverage detected