deplorableword / textmate-solarized

TextMate theme for Solarized
http://ethanschoonover.com/solarized
440 stars 98 forks source link

PHP #7

Open fentie opened 13 years ago

fentie commented 13 years ago

I'm going through and noting some mismatches in the test file(s). I'll start making pull requests for them as I have time, but this way others can help out as well:

I'm not yet any good at writing Textmate selectors, but I'll fill in the color values as I can.

Thanks for the port.

deplorableword commented 13 years ago

Hi, these errors exist in both light and dark?

deplorableword commented 13 years ago

The only selector I can find for this meta.function-call.php which will also select things like function_name() which is suppose to be grey. Hopefully there's some other way to do it.

Is now fixed in light and dark.

fentie commented 13 years ago

I just put the cursor over "new" and hit ctrl-shift-P (Mac) and it gives the selectors that match, so I used that to fill in the XML. You're right too, any issues with the non-gray colors are also in the light version too. I just remember reading that the Dark version was incomplete and it's the one I use, so that's where I put my efforts.

deplorableword commented 13 years ago

Any chance you could provide a simple Gist with some PHP which shows up the broken bits? The sample included with Solarized doesn't cover everything.

fentie commented 13 years ago

Pretty much everything I listed above was shown in the example file. I'd like a more thorough example too, though, honestly. I'm basically opening the screenshot (http://ethanschoonover.com/solarized/img/screen-php-dark.png) and Textmate with the sample file and noting differences, then fixing them. I have odd hobbies, it seems.

deplorableword commented 13 years ago

Do you want to pull in my upstream changes into your fork and see what it fixes, it should whittle down that list a little bit.

Zegnat commented 13 years ago

I’m talking about the Dark theme here. Keep in mind I don’t know anything about TextMate theming. I’m just working with the test file and comparing it to the canonical screenshot of Solarized. Let me add some commenting to the list that started this issue:



@deplorableword: could you refer to the above emphasised “titles” when you commit patches for them? That way it’ll be easier to keep track. Let’s try to keep this list up-to-date and strike of those that have been fixed. Please let me know which ones have already been fixed so they can be struck off.

If anyone spots another problem with the PHP theme please open a separate issue. That’s the best way to keep problems organised and for deplorableword to close them when they’re solved.

fentie commented 13 years ago

Agreed, both quotes are fixed, as are arrays, new, and class method calls. Yes, I meant colon instead of semicolon, sorry.

I still see HTML tags as normal font weight instead of bold, but it's also possible the font I'm using doesn't have a bold, I'll have to verify that later.

Zegnat commented 13 years ago

both quotes are fixed, as are arrays, new, and class method calls.

Marked these as fixed.

I’ve also fixed some spelling faults and added a description to HTML attributes.


@fentie:

I still see HTML tags as normal font weight instead of bold, but it's also possible the font I’m using doesn’t have a bold

I had the same problem. Only after switching font did it become clear. Just redownloaded the theme to make sure and they really are bold.

deplorableword commented 13 years ago

The bold text I'm not sure if it's a TextMate or Typeface rendering issue or both.

@Zegnat Thanks for this list, very helpful. I will make single commits which fix these and name them accordingly.