Sublime Forum

Build 3124 from 3104 changes highlighting

#1

After upgrading to build 3124, the syntax highlighting has changed.
Now, function calls are not highlighted in the Function name color but some other color and italicized.
Are there now new elements that I need to add to my (custom) theme to allow me to select the color and font style?
Thanks,
Chuck

0 Likes

#2

Yes it’s getting very annoying! Even if you are a paid costumer your left in the dark! No communication nothing.
I posted this issue months ago, but no reply.
Regards,
David

0 Likes

#3

If you are seeing changes to syntax highlighting, it is result of improvements and bug fixes happening at https://github.com/sublimehq/Packages.

Head over there and post an issue with the trouble you are having. Be sure to include source code and not just a screenshot. That way contributors can look at the exact issue and tell you why a change happened and how you can adapt your color scheme to follow the new standards.

There is also now official documentation about scope names that are used in syntaxes and color schemes. If you are looking to adapt a color scheme, check out http://www.sublimetext.com/docs/3/scope_naming.html#color_schemes.

1 Like

#4

When you look at the screen shots it’s clear what the difference is between 3103 and after versions. (The colors are gone!) The shots are made with Sublime text 3 both with the same configuration. What do you mean with source code? I’m showing a common php web page?
Regards,
David

0 Likes

#5

No, it really isn’t clear, which is why I asked you to post the source code. We need to use the scope inspector to figure out what is going on. Head over the the GitHub repo I linked to and we can help you out.

0 Likes

#6

Where do I get the source code from? And I’m back to 3103, have no time for constant bugs, going to look for an alternative.

0 Likes

#7

Perhaps I was unclear – you posted a screenshot of HTML that is highlighted incorrectly. I need you to post the actual HTML source so I can paste it into my editor and use the Show Scopes functionality to inspect why it isn’t highlighting properly.

0 Likes

#8

How can I upload?

0 Likes

#9

Create an issue at https://github.com/sublimehq/Packages/issues/new, and either attach the file, or preferably place it in a fenced code block using formatting like:

```html
<html><head>
<title>Example HTML</title>
</head>
<body>
</body>
</html>
```
0 Likes

#10

Here is a link I will remove it in 10 minutes.

Thanks!

0 Likes

#11

I’ve fixed the bug at https://github.com/sublimehq/Packages/commit/80a591daf152e2de0558d662db86c3a0119b8958.

The changes will be part of the next dev build. If you see any errors in the future, just be sure to report them at https://github.com/sublimehq/Packages/issues/new since they are much easier to miss here on the forum.

0 Likes

#12

Thanks that was quick! Was dealing with this for a long time!
Much appreciated! David

0 Likes

#13

My theme was missing variable.function. Adding this section works.
Thanks for the pointer to the http://www.sublimetext.com/docs/3/scope_naming.html#color_schemes page.
That was helpful.

0 Likes