Hi,

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.  If you want to see these in action, while editing a git repository
click tools->git->Blame for FILENAME.  You will see that all the
change-sets are colour coded and are clickable.

Regards,
Brian

> Hi,
>
> In a plugin in that I develop I introduced another mode (mode like
> "welcome mode", "editor mode", ...) This mode basically shows our
> bugtracker webinterface in a QWebView.
> Now I want to highlight several keywords in the code editor and make them
> clickable.
> So If a user clicks on somthing like //TT#2342 I want to open the new
> Tasktracker mode and display the ticket number 2342.
>
> Can you point me in a direction where I should start looking into the code
> of the editor plugin to begin with?
> Is there any code that I can reuse for the clicking? /me thinks of the
> possibility to CTRL+click on a function to jump there.
>
> Any hints appreciated.
>
> Regards,
> Markus
>
>
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>


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

Reply via email to