-
Notifications
You must be signed in to change notification settings - Fork 50
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
Problem with dark editor theme #799
Comments
Reproduced. |
I think yes i will try this weekend, it should not be some issue with tokens, probably the background pref not read/set correctly |
Hello, I have found the time to look at it and I think I have a solution. I will submit a PR for review, if you're ok with this? — On Sat, Jun 27, 2015 at 5:18 PM, Andrea Richiardi
|
Oh yes please go ahead, i did not have time to |
@arichiardi the fix is in this commit, can you review it? 6fd012a |
The fix works, but there is still a one character wide column that remains white, separating the line number area from the editing area. |
@asampal indeed, will work on this |
After having debugged ClojureTokenScanner, I discovered that it was not related... |
Another related issue: @asampal could you try these two workarounds? |
And finally: |
Yes, folding seems to be the issue. JDT does not have the problem. |
Sorry I have posted a workaround for CDT, will try something better, for example I can try emulating what JDT is doing |
Toggling the folding functionality didn't fix this for me. Closed the editors and re-opened, but no go. |
@arichiardi I'd like to focus on what's required to release a new stable version. This issue seems like an embarrassing regression to me. Better to fix it soon. Can you give it another try? |
Yes ok I will focus on this then |
thanks a lot! |
Don't mention it 😄 ! |
Just to refresh my memory, I gave the current stable version a try, and it does not have the problem, indeed. Will try to bisect to find where the problem occurs. |
OK, so bisecting confirms that fcc360c is the first commit introducing the problem |
Well, big commit, hard to tell where the problem lies. Will try another approach and put some breakpoints in the StyledText |
Will debug too, I remember I did change nothing about the tokens...it is weird because it looks like that stripe is not even within buffer range...I will help you out and sorry about it.. |
initializeViewerColors looks suspicious for instance, maybe it does not take the black background color |
Another road I am considering: guari/eclipse-ui-theme#7 |
I put here the SWT spy log:
|
Yeah, I also already spent a night on this yesterday without success. But I'm stubborn, and I hope we'll find the problem. We may also learn things about how swt / jface / viewers work, along the way. — On Wed, Jul 29, 2015 at 10:58 AM, Andrea Richiardi
|
By the way it still happens in my Mars with jdt...have you tried to put a color that contrasts your theme color? We'll better report this in here. EDIT: restarting basically solves the problem...it looks like there is some problem with live changes only. |
Well, on my Mars, java editor does not seem to have problems, while clojure editor does. |
Could also be OS related, or Eclipse related, I am running on linux and y target platform is kepler atm. |
Indeed. I think I can probably release with this problem anyway. It will 2015-07-29 21:01 GMT+02:00 Andrea Richiardi notifications@github.com:
Laurent Petit |
That's true ;) On July 29, 2015 9:14:10 PM GMT+02:00, Laurent Petit notifications@github.com wrote:
-ar |
Even with folding, this problem is still there...very weird. |
I mean in my branch folding-feature |
I have randomly tried commit |
It will be in thn folding-feature because it is directly related with it, difficult to extrapolate... |
Good news indeed! What was the problem? |
When you change the background basically, because of the above-mentioned bug, you need to toggle the folding on PrjectionViewer. |
(y) |
Actually just listening to the background should suffice.. |
If the editor background color is set to black, it remains white except for the line number columns.
Eclipse 4.5, Windows 8.1
ccw.core 0.32.0.201506262242
The text was updated successfully, but these errors were encountered: