Safely store passwords #79

Merged
eelke merged 8 commits from safely-store-passwords into master 2018-11-10 06:50:10 +00:00
2 changed files with 3 additions and 0 deletions
Showing only changes of commit b8cfb223be - Show all commits

View file

@ -19,6 +19,8 @@ CodeEditor::CodeEditor(QWidget *parent)
connect(this, SIGNAL(cursorPositionChanged()), this, SLOT(highlightCurrentLine()));
connect(this, SIGNAL(textChanged()), this, SLOT(onTextChanged()));
setWordWrapMode(QTextOption::NoWrap);
updateGutterAreaWidth(0);
highlightCurrentLine();
}

View file

@ -8,6 +8,7 @@ SqlCodePreview::SqlCodePreview(QWidget *parent)
auto&& config = UserConfiguration::instance();
setFont(config->codeFont());
setTextInteractionFlags(Qt::TextSelectableByMouse | Qt::TextSelectableByKeyboard);
setWordWrapMode(QTextOption::NoWrap);
m_highlighter = new SqlSyntaxHighlighter(document());
}