| 1655 | } |
| 1656 | |
| 1657 | void RefreshBreakpoints() |
| 1658 | { |
| 1659 | unsigned int id = TabbedFiles::GetCurrentTab(stateRemote ? hAttachTabs : hTabs); |
| 1660 | HWND wnd = TabbedFiles::GetTabInfo(stateRemote ? hAttachTabs : hTabs, id).window; |
| 1661 | for(unsigned int i = 0; i < (stateRemote ? attachedEdits.size() : richEdits.size()); i++) |
| 1662 | { |
| 1663 | RichTextarea::LineIterator it = RichTextarea::GetFirstLine(stateRemote ? attachedEdits[i] : richEdits[i]); |
| 1664 | while(it.line) |
| 1665 | { |
| 1666 | if(it.GetExtra() == 1) |
| 1667 | it.SetStyle(OVERLAY_BREAKPOINT); |
| 1668 | if(it.GetExtra() == 2) |
| 1669 | it.SetStyle(OVERLAY_BREAKPOINT_INVALID); |
| 1670 | it.GoForward(); |
| 1671 | } |
| 1672 | } |
| 1673 | RichTextarea::UpdateArea(wnd); |
| 1674 | RichTextarea::ResetUpdate(wnd); |
| 1675 | } |
| 1676 | |
| 1677 | FastVector<unsigned> breakPos; |
| 1678 | FastVector<unsigned> byteCodePos; |
no test coverage detected