doSelectionPageUp(getClientArea().height);
doSelectionPageUp(-1);
public void invokeAction(int action) {	checkWidget();	updateCaretDirection = true;	switch (action) {		// Navigation		case ST.LINE_UP:			doLineUp(false);			clearSelection(true);			break;		case ST.LINE_DOWN:			doLineDown(false);			clearSelection(true);			break;		case ST.LINE_START:			doLineStart();			clearSelection(true);			break;		case ST.LINE_END:			doLineEnd();			clearSelection(true);			break;		case ST.COLUMN_PREVIOUS:			doCursorPrevious();			clearSelection(true);			break;		case ST.COLUMN_NEXT:			doCursorNext();			clearSelection(true);			break;		case ST.PAGE_UP:			doPageUp(false, getClientArea().height);			clearSelection(true);			break;		case ST.PAGE_DOWN:			doPageDown(false, getClientArea().height);			clearSelection(true);			break;		case ST.WORD_PREVIOUS:			doWordPrevious();			clearSelection(true);			break;		case ST.WORD_NEXT:			doWordNext();			clearSelection(true);			break;		case ST.TEXT_START:			doContentStart();			clearSelection(true);			break;		case ST.TEXT_END:			doContentEnd();			clearSelection(true);			break;		case ST.WINDOW_START:			doPageStart();			clearSelection(true);			break;		case ST.WINDOW_END:			doPageEnd();			clearSelection(true);			break;		// Selection			case ST.SELECT_LINE_UP:			doSelectionLineUp();			break;		case ST.SELECT_ALL:			selectAll();			break;		case ST.SELECT_LINE_DOWN:			doSelectionLineDown();			break;		case ST.SELECT_LINE_START:			doLineStart();			doSelection(ST.COLUMN_PREVIOUS);			break;		case ST.SELECT_LINE_END:			doLineEnd();			doSelection(ST.COLUMN_NEXT);			break;		case ST.SELECT_COLUMN_PREVIOUS:			doSelectionCursorPrevious();			doSelection(ST.COLUMN_PREVIOUS);			break;		case ST.SELECT_COLUMN_NEXT:			doSelectionCursorNext();			doSelection(ST.COLUMN_NEXT);			break;		case ST.SELECT_PAGE_UP:			doSelectionPageUp(getClientArea().height);			break;		case ST.SELECT_PAGE_DOWN:			doSelectionPageDown(getClientArea().height);			break;		case ST.SELECT_WORD_PREVIOUS:			doSelectionWordPrevious();			doSelection(ST.COLUMN_PREVIOUS);			break;		case ST.SELECT_WORD_NEXT:			doSelectionWordNext();			doSelection(ST.COLUMN_NEXT);			break;		case ST.SELECT_TEXT_START:			doContentStart();			doSelection(ST.COLUMN_PREVIOUS);			break;		case ST.SELECT_TEXT_END:			doContentEnd();			doSelection(ST.COLUMN_NEXT);			break;		case ST.SELECT_WINDOW_START:			doPageStart();			doSelection(ST.COLUMN_PREVIOUS);			break;		case ST.SELECT_WINDOW_END:			doPageEnd();			doSelection(ST.COLUMN_NEXT);			break;		// Modification					case ST.CUT:			cut();			break;		case ST.COPY:			copy();			break;		case ST.PASTE:			paste();			break;		case ST.DELETE_PREVIOUS:			doBackspace();			break;		case ST.DELETE_NEXT:			doDelete();			break;		case ST.DELETE_WORD_PREVIOUS:			doDeleteWordPrevious();			break;		case ST.DELETE_WORD_NEXT:			doDeleteWordNext();			break;		// Miscellaneous		case ST.TOGGLE_OVERWRITE:			overwrite = !overwrite;		// toggle insert/overwrite mode			break;	}}