| 335 | } |
| 336 | |
| 337 | void Breakpoint::stopDocumentLineTracking() |
| 338 | { |
| 339 | if (!m_movingCursor) |
| 340 | return; |
| 341 | |
| 342 | // Remove the associated breakpoint mark. |
| 343 | { |
| 344 | const auto guard = m_model->markChangeGuard(); |
| 345 | m_movingCursor->document()->removeMark(m_movingCursor->line(), BreakpointModel::AllBreakpointMarks); |
| 346 | } |
| 347 | |
| 348 | removeMovingCursor(); |
| 349 | } |
| 350 | |
| 351 | void Breakpoint::removeMovingCursor() |
| 352 | { |
no test coverage detected