> You can have a look at the VCS plugins.  In the vcsbase
> plugin there is
> the vcsbaseeditor and then in git plugin there is the
> annotationhighlighter and giteditor files.  They would be a
> good place to
> start.

Thanks for putting me into the right direction. I had a look at the plugins.
However as I wanted to extend the syntax highlighting of the code which is 
shown in the cpp editor I extended the cpp plugin a little to suit my needs:
Lexer.cpp contains code to find doxygen style comments. Right there I 
introduced another comment type for our "tasktracker comments".
So the lexer is able to identify them and to set the new token type so that I 
am able to highlight them.
It is possible to click on such a comment and the "tasktracker"-mode is 
activated.

The only thing that is missing right now is to load the particular bugtracker 
entry upon clicking on it.
In the CppEditor I am able to emit a signal containing the tasktracker id.
Now I want to be able to connect to this signal in my tasktracker plugin.
That is the point where I am stuck right now.

So if you have any ideas how to achieve this, let me know.

Thanks,
Markus

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to