MCPcopy Create free account
hub / github.com/WheretIB/nullc / RefreshBreakpoints

Function RefreshBreakpoints

SuperCalc.cpp:1657–1675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1655}
1656
1657void 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
1677FastVector<unsigned> breakPos;
1678FastVector<unsigned> byteCodePos;

Callers 3

PipeThreadFunction · 0.85
ContinueAfterBreakFunction · 0.85
WndProcFunction · 0.85

Calls 4

GetExtraMethod · 0.80
SetStyleMethod · 0.80
GoForwardMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected