Skip to content
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

Inconsistent font color when selected #93

Open
jhonnen opened this issue Nov 26, 2018 · 1 comment
Open

Inconsistent font color when selected #93

jhonnen opened this issue Nov 26, 2018 · 1 comment

Comments

@jhonnen
Copy link

jhonnen commented Nov 26, 2018

When I highlight the null literal, the first character is highlighted differently from the rest:

uiJob.join(TimeUnit.MINUTES.toMillis(1), null);

image

Maybe related to #40? Note: The double click selection issue in #10 works perfectly for me.

Eclipse:
Version: 2018-12 (4.10)
Build id: I20181125-0600

JDT CodeMining 1.0.0.201811210753

@jhonnen jhonnen changed the title Inconsistent font color when highlighted Inconsistent font color when selected Nov 26, 2018
@angelozerr
Copy link
Owner

I understand it's an ugly behaviour, but it's hard to fix it. As you said, it's the same issue than #40? and #10

@miclaelsitria, IMHO we should focus on https://bugs.eclipse.org/bugs/show_bug.cgi?id=531769 We have more and more issues about bad behaviour of line content annotation with GlyphMetrics width.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants