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

Why the color is different from before? #58

Closed
guozhenyi opened this issue Dec 24, 2015 · 18 comments
Closed

Why the color is different from before? #58

guozhenyi opened this issue Dec 24, 2015 · 18 comments

Comments

@guozhenyi
Copy link

Yesterday, when I'm coding, I found the color is changed. It's a unexpected change.

before
after

@jonschlinkert
Copy link
Owner

Sorry about that, I'll look into it and see what happened.

@karolyi
Copy link

karolyi commented Dec 27, 2015

+1 for python source highlighting (and probably more too):
original Monokai:
image

Monokai Extended:
image

def and class keywords are in different color.
more to come, probably ...

@ParadiseDS
Copy link

+1 for php highlighting
The monokai bright seems to be the origin one, but it cannot highlight under diff syntax (probably more...)

@jonschlinkert
Copy link
Owner

Yeah it shouldn't have changed. I'll revert whatever caused the issue.

@karolyi
Copy link

karolyi commented Jan 4, 2016

Package Control has upgraded Monokai Extended to 2015.12.29.22.12.53

the syntax is still not fixed

@OmeGak
Copy link

OmeGak commented Jan 13, 2016

+1 for Python syntax highlight

@gerardroche
Copy link
Contributor

PHP too.

At least one of the offending pr's is #52

A diff between e99726e and 9a99355

diff

Reverting causes some big conflicts.

@karolyi
Copy link

karolyi commented Feb 1, 2016

Package Control: Upgraded Monokai Extended to 2016.01.31.22.05.34

It seems the problem is solved. thx!

@OmeGak
Copy link

OmeGak commented Feb 1, 2016

Keeps looking wrong in Python in 2016.01.31.22.05.34.

screenshot from 2016-02-01 11 21 48

@karolyi
Copy link

karolyi commented Feb 1, 2016

Interesting, mine is fixed:

image

@karolyi
Copy link

karolyi commented Feb 1, 2016

According to the latest merged pull request, the version installed must have fixed the issue:

6de4a66

I suggest you doublecheck your settings.

@OmeGak
Copy link

OmeGak commented Feb 1, 2016

Thanks! I realized I was using the automatically converted Monokai Extended from Sublime Linter instead, which doesn't get updated automatically. I simply had to select a color scheme from Monokai Extended ones and Sublime Linter overwrote the old one.

@jonschlinkert
Copy link
Owner

I'm going to close since it sounds like this is fixed. However, we can reopen if others report that it's not. thanks for the feedback

@ice9js
Copy link

ice9js commented Feb 11, 2016

PHP syntax highlighting still looks like it's broken to me.

@jonschlinkert
Copy link
Owner

Still? Or as a result of #62?

@gerardroche
Copy link
Contributor

I just checked against build 3103 back to 3095 and it is still messed up. It's broken until back to commit e99726e which was ok.

@jonschlinkert
Copy link
Owner

ok good to know, thanks for the detail

@gerardroche
Copy link
Contributor

gerardroche commented May 11, 2016

This is still an issue, at least for PHP.

There are several issues.

One is that, from what I understand, the theme is generated from the .JSON-tmTheme files. I wasn't aware of this when I contributed a patch so I didn't modify those JSON files and generate the theme from them, I don't know how to do that. I edited the .tmTheme file directly.

In a later pull request my changes were overwritten, as I think many other changes were, see #52

That pull request says "adds support for ~~ strike-through text" but look at the massive changes it made. It changed all kinds of things. For example, any previous changes that didn't use the JSON file to generate the theme were lost.

Look at the JSON files modifications in that pull request, they only add changes to the markup strikout, e.g.:

 +            "name": "Markup: strike", 
+            "scope": "markup.strike", 
+            "settings": {
+                "fontStyle": "", // Or add `strike`, but it doesn't support
+                "foreground": "#cc4273"
+            }
+        }, 
+        {

Then look at the changes to the tmTheme files, big sweeping changes.

Am I correct in thinking that is what caused the issue?

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

No branches or pull requests

7 participants