| 946 | } |
| 947 | |
| 948 | void ContextBrowserPlugin::documentActivated(IDocument* doc) |
| 949 | { |
| 950 | if (m_outlineLine) |
| 951 | m_outlineLine->clear(); |
| 952 | |
| 953 | if (View* view = doc->activeTextView()) { |
| 954 | cursorPositionChanged(view, view->cursorPosition()); |
| 955 | } |
| 956 | } |
| 957 | |
| 958 | void ContextBrowserPlugin::viewDestroyed(QObject* obj) |
| 959 | { |
nothing calls this directly
no test coverage detected