mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-11-03 21:24:30 +03:00
Enable line wrapping
This commit is contained in:
parent
5d8091811d
commit
800a4c79c5
@ -76,6 +76,9 @@ TextEditor::TextEditor(QWidget *parent) : ScintillaIFace(parent) {
|
||||
setScrollWidthTracking(true);
|
||||
setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContents);
|
||||
|
||||
// TODO: add a setting / button to toggle line wrapping
|
||||
setWrapMode(SC_WRAP_WORD);
|
||||
|
||||
setMarginLeft(4);
|
||||
setMarginTypeN(Staged, SC_MARGIN_SYMBOL);
|
||||
setMarginTypeN(LineNumber, SC_MARGIN_NUMBER);
|
||||
|
Loading…
Reference in New Issue
Block a user