CuteMarkEd icon indicating copy to clipboard operation
CuteMarkEd copied to clipboard

Editor background color and margins

Open EricGrange opened this issue 9 years ago • 3 comments

This is a request for an option to be able to choose the background of the editor to something not white, and also have margins in the editor, so that the next is not so close to the scrollbar and line numbers margin.

Both options would make the full screen mode more friendly (for inspiration, cf. WriterMonkey, though WriterMonkey is sometimes a bit too distraction free)

EricGrange avatar Feb 22 '16 14:02 EricGrange

Have you tried to select another style from: Extra \ Styles menu (also right-click on the Default label in left bottom corner on status bar) ?

dbelyaev avatar Feb 22 '16 15:02 dbelyaev

Yes, but they are all flashy colors or darky, and have no margins.

(the margin is what would probably makes more difference)

EricGrange avatar Feb 22 '16 16:02 EricGrange

Regarding editor background: This is handled by the style. You can find the current used editor styles here: https://github.com/cloose/CuteMarkEd/tree/develop/app/themes. They are plain text file with a fairly easy to understand syntax. Maybe you could create one with a style you would like?

Regarding margins: QTextDocument::setDocumentMargin() could probably used for this. Is this only interesting for the full screen mode?

cloose avatar Mar 11 '16 19:03 cloose