MCPcopy Create free account
hub / github.com/TeXworks/texworks / notifyTextSelectionChanged

Method notifyTextSelectionChanged

modules/QtPDF/src/PDFDocumentView.cpp:1347–1352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1345}
1346
1347void PDFDocumentView::notifyTextSelectionChanged()
1348{
1349 DocumentTool::Select * tool = dynamic_cast<DocumentTool::Select *>(getToolByType(DocumentTool::AbstractTool::Tool_Select));
1350 if (!tool) return;
1351 emit textSelectionChanged(tool->isTextSelected());
1352}
1353
1354void PDFDocumentView::registerTool(std::unique_ptr<DocumentTool::AbstractTool> tool)
1355{

Callers 1

mouseReleaseEventMethod · 0.80

Calls 1

isTextSelectedMethod · 0.80

Tested by

no test coverage detected