Scrolling scrollInView tells any parent scroll layout to scroll to get given box (e.g., cursor BBox) in view -- returns true if scrolled
(bbox image.Rectangle)
| 839 | // scrollInView tells any parent scroll layout to scroll to get given box |
| 840 | // (e.g., cursor BBox) in view -- returns true if scrolled |
| 841 | func (ed *Editor) scrollInView(bbox image.Rectangle) bool { |
| 842 | return ed.ScrollToBox(bbox) |
| 843 | } |
| 844 | |
| 845 | // scrollCursorToCenterIfHidden checks if the cursor is not visible, and if |
| 846 | // so, scrolls to the center, along both dimensions. |
nothing calls this directly
no test coverage detected