|
|
@ -4101,11 +4101,12 @@ void TQTable::fixCell( int &row, int &col, int key )
|
|
|
|
row = curRow;
|
|
|
|
row = curRow;
|
|
|
|
} else if ( key == Key_Up ||
|
|
|
|
} else if ( key == Key_Up ||
|
|
|
|
key == Key_Prior ||
|
|
|
|
key == Key_Prior ||
|
|
|
|
key == Key_Home )
|
|
|
|
key == Key_Home ) {
|
|
|
|
while ( row >= 0 && rowHeight( row ) <= 0 )
|
|
|
|
while ( row >= 0 && rowHeight( row ) <= 0 )
|
|
|
|
row--;
|
|
|
|
row--;
|
|
|
|
if ( rowHeight( row ) <= 0 )
|
|
|
|
if ( rowHeight( row ) <= 0 )
|
|
|
|
row = curRow;
|
|
|
|
row = curRow;
|
|
|
|
|
|
|
|
}
|
|
|
|
} else if ( columnWidth( col ) <= 0 ) {
|
|
|
|
} else if ( columnWidth( col ) <= 0 ) {
|
|
|
|
if ( key == Key_Left ) {
|
|
|
|
if ( key == Key_Left ) {
|
|
|
|
while ( col >= 0 && columnWidth( col ) <= 0 )
|
|
|
|
while ( col >= 0 && columnWidth( col ) <= 0 )
|
|
|
|