CPPEditorWidget inherits from QPlainTextEdit and this explains how to
highlight a line in it:

http://stackoverflow.com/questions/5427572/how-to-change-current-line-format-in-qtextedit-without-selection

I don't know if CPPEditor or CPPEditorWidget already expose such
functionality though.


On 6 November 2013 20:37, "C. Bergström" <[email protected]> wrote:

> Hi
>
> We're working on some changes to the editor window and hit a small bump.
> It's cosmetic, but annoying (to me).
> -------------
> In the attached image you can see we can change the background color for
> certain pieces of code. Now it only spans the length of the text. Ideally
> I'd like it to span the full length of the line though. Possible? If so how
> do we do it.
>
> Thanks
>
> ./C
>
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>
>
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to