I'd like to be able to implement a column-mode, and as far as I know that can't be done using QPlainTextEditor.
I didn't know that it could be done that way. I'll try it, it seems to be easier that way.That's not how it's done. Use QAbstractScrollArea::setViewportMargins() and place your line counting widget in the blank space left by the viewport.
Thanks!





Reply With Quote


Bookmarks