mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
fix: UTF-8 characters (when out of comments or quotes) are drawn with different font
This commit is contained in:
@@ -108,7 +108,7 @@ void SqlTextEdit::reloadSettings()
|
||||
QFont defaultfont(PreferencesDialog::getSettingsValue("editor", "font").toString());
|
||||
defaultfont.setStyleHint(QFont::TypeWriter);
|
||||
defaultfont.setPointSize(PreferencesDialog::getSettingsValue("editor", "fontsize").toInt());
|
||||
sqlLexer->setDefaultFont(defaultfont);
|
||||
sqlLexer->setFont(defaultfont);
|
||||
setupSyntaxHighlightingFormat("comment", QsciLexerSQL::Comment);
|
||||
setupSyntaxHighlightingFormat("comment", QsciLexerSQL::CommentLine);
|
||||
setupSyntaxHighlightingFormat("comment", QsciLexerSQL::CommentDoc);
|
||||
|
||||
Reference in New Issue
Block a user