Example #1
0
void ZLTextView::activateSelection(int x, int y) {
    if (isSelectionEnabled()) {
        mySelectionModel.activate(visualX(x), y);
        application().refreshWindow();
    }
}
int BooksTextView::doubleClickDelay() const
{
    return isSelectionEnabled() ? 200 : 0;
}
Example #3
0
void ZLTextView::activateSelection(int x, int y) {
	if (isSelectionEnabled()) {
		myTextAreaController.area().selectionModel().activate(textArea().realX(x), y);
		ZLApplication::Instance().refreshWindow();
	}
}