Skip to content

fix: UTF-8 characters (when out of comments or quotes) are drawn with different font #365

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 1, 2015

Conversation

SevenLines
Copy link
Contributor

Function setFont(), without params, sets font for all lexems types. .
To set default font color to black I used sqlLexer->setColor(Qt::black, QsciLexerSQL::Default).
That's also keeps numbers color with aquablue color

And it doesn't looks very clever now, it thinks that every not special english SQL word is table or column name.

I compared it with old (before Scintilla) appearance:

workspace 1_065

@justinclift
Copy link
Member

Thanks @SevenLines, that's excellent. 😀

@MKleusberg is this good to merge?

@justinclift justinclift added this to the 3.8.0 - Awesome Sauce! milestone Jun 22, 2015
@justinclift
Copy link
Member

@MKleusberg ping?

@justinclift
Copy link
Member

I'm just going to merge this and hope for the best. If it breaks things for people, I'm sure someone will file an issue. 😄

justinclift added a commit that referenced this pull request Jul 1, 2015
fix: UTF-8 characters (when out of comments or quotes) are drawn with different font
@justinclift justinclift merged commit 3343345 into sqlitebrowser:master Jul 1, 2015
@justinclift justinclift added bug Confirmed bugs or reports that are very likely to be bugs. fix applied labels Jul 1, 2015
@MKleusberg
Copy link
Member

Should be fine. I still think there's some bug in QScintilla because I see no other reasons why the middle part of the first line in the first picture of the original issue is highlighted differently. But at least we're now working successfully around it 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy