Line numbers obscures viewport
I make line numbers for my application using QTExtEditor based on QPlainTextEditor sample.
Line numbers obscures viewport.
I am trying type: setParent(editor) and tried setParent(editor->viewport) but this not helps.
("obscures" - if I correct translate "zasłaniać", "przysłaniać" from Polish - left margin of text is non visible)
and now its up to us for guessing what you could have possibly done wrong?