| 125 | } |
| 126 | |
| 127 | Editor* EditorManager::findEditor(const wxString& name) |
| 128 | { |
| 129 | EditorList::iterator it; |
| 130 | Editor* editor = NULL; |
| 131 | for(it = mEditors.begin(); it != mEditors.end(); ++it) |
| 132 | { |
| 133 | editor = (*it); |
| 134 | if(editor->getName() == name) return editor; |
| 135 | } |
| 136 | |
| 137 | return NULL; |
| 138 | } |
| 139 | |
| 140 | Editor* EditorManager::getActiveEditor() const |
| 141 | { |