isInVerticalMargin property
bool
get
isInVerticalMargin
Whether the cursor is inside the scroll region (the whole screen, as
far as this buffer can tell; see marginTop).
Implementation
bool get isInVerticalMargin {
return cursorY >= marginTop && cursorY <= marginBottom;
}