MCPcopy Create free account
hub / github.com/KDE/kdiff3 / getSelectionRange

Method getSelectionRange

src/difftextwindow.cpp:1667–1673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1665}
1666
1667void DiffTextWindow::getSelectionRange(LineRef* pFirstLine, LineRef* pLastLine, e_CoordType coordType) const
1668{
1669 if(pFirstLine)
1670 *pFirstLine = d->convertLineOnScreenToLineInSource(d->m_selection.beginLine(), coordType, true);
1671 if(pLastLine)
1672 *pLastLine = d->convertLineOnScreenToLineInSource(d->m_selection.endLine(), coordType, false);
1673}
1674
1675void DiffTextWindow::convertSelectionToD3LCoords() const
1676{

Callers 4

slotFilePrintMethod · 0.80
slotSplitDiffMethod · 0.80
slotJoinDiffsMethod · 0.80
slotAddManualDiffHelpMethod · 0.80

Calls 3

beginLineMethod · 0.80
endLineMethod · 0.80

Tested by

no test coverage detected