The line is given as a index in the Diff3LineList. The function calculates the corresponding iterator. */
| 704 | /** The line is given as a index in the Diff3LineList. |
| 705 | The function calculates the corresponding iterator. */ |
| 706 | void MergeResultWindow::slotSetFastSelectorLine(LineType line) |
| 707 | { |
| 708 | MergeBlockList::iterator i; |
| 709 | for(i = m_mergeBlockList.begin(); i != m_mergeBlockList.end(); ++i) |
| 710 | { |
| 711 | if(line >= i->getIndex() && line < i->getIndex() + i->sourceRangeLength()) |
| 712 | { |
| 713 | setFastSelector(i); |
| 714 | break; |
| 715 | } |
| 716 | } |
| 717 | } |
| 718 | |
| 719 | qint32 MergeResultWindow::getNumberOfUnsolvedConflicts(qint32* pNrOfWhiteSpaceConflicts) const |
| 720 | { |
nothing calls this directly
no test coverage detected