55
51
void ParagraphBase::activateTextBlockAt(const QPointF &point)
56
foreach (KoShape *s, m_canvas->shapeManager()->shapesAt(QRectF(point, QSizeF(4, 4)))) {
59
64
// there is no shape below the mouse position
71
69
QTextDocument *document = textShapeData->document();
74
72
p += QPointF(0.0, textShapeData->documentOffset());
76
74
int position = document->documentLayout()->hitTest(p, Qt::ExactHit);