MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / registerEditor

Method registerEditor

MiniZincIDE/ide.cpp:578–583  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

576}
577
578void IDE::registerEditor(const QString& path, CodeEditor* ce)
579{
580 DMap::iterator it = documents.find(path);
581 QSet<CodeEditor*>& editors = it.value()->editors;
582 editors.insert(ce);
583}
584
585void IDE::removeEditor(const QString& path, CodeEditor* ce)
586{

Callers 1

createEditorMethod · 0.80

Calls 2

findMethod · 0.80
valueMethod · 0.45

Tested by

no test coverage detected