static bool WndCursorRightCheck( a_window *wnd ) { wnd_line_piece line; int col; bool got; got = WndGetLine( wnd, wnd->current.row, wnd->current.piece, &line ); if( _Isnt( wnd, WSW_CHAR_CURSOR ) || !WndHasCurrent( wnd ) || !got || wnd->current.col + 1 >= line.length ) { return( WndTabRight( wnd, false ) ); } else { WndDirtyCurrChar( wnd ); col = wnd->current.col; wnd->current.col += GUICharLen( line.text[wnd->current.col] ); WndSetCurrCol( wnd ); WndCurrVisible( wnd ); WndDirtyCurrChar( wnd ); return( col != wnd->current.col ); } }
void ProcWndTabRight( a_window *wnd ) { WndTabRight( wnd, TRUE ); }