MCPcopy Create free account
hub / github.com/Rezonality/zep / FindBufferWindows

Method FindBufferWindows

src/editor.cpp:260–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260std::vector<ZepWindow*> ZepEditor::FindBufferWindows(const ZepBuffer* pBuffer) const
261{
262 std::vector<ZepWindow*> bufferWindows;
263 for (auto& tab : m_tabWindows)
264 {
265 for (auto& win : tab->GetWindows())
266 {
267 if (&win->GetBuffer() == pBuffer)
268 {
269 bufferWindows.push_back(win);
270 }
271 }
272 }
273 return bufferWindows;
274}
275
276void ZepEditor::RemoveBuffer(ZepBuffer* pBuffer)
277{

Callers 1

IsHiddenMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected