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

Colors are wrong in BBedit 10 #2

Open
michelboutros opened this issue Aug 3, 2011 · 8 comments
Open

Colors are wrong in BBedit 10 #2

michelboutros opened this issue Aug 3, 2011 · 8 comments

Comments

@michelboutros
Copy link

Maybe it's an issue with how BBEdit 10 handles the .bbcolors file differently, as I've never tried that in previous versions of BBEdit, but the colors are wrong.

I'm new to this, so I don't know if it's something on my end, or BBEdit, but here's a screenshot showing the difference: http://dl.dropbox.com/u/674255/BBEdit.png

@rcarmo
Copy link
Owner

rcarmo commented Aug 3, 2011

Hmmm. I don't have BBEdit, so it might be that. I have no way of checking.

@michelboutros
Copy link
Author

Ok, that's fine. I'll try and see what I can do, since BBEdit now allows setting the colors and exporting them directly to .bbcolors.

@amro
Copy link

amro commented Aug 12, 2011

michel, did you figure this out? can you share the .bbcolors file if so?

@michelboutros
Copy link
Author

Sorry, I've had finals the past week, and didn't have time to look into it. But now that they're done, I have been trying.

My problem with BBEdit, it seems, is that the color categories are very broad, at least for C. Here is a screenshot illustrating that: http://cl.ly/9Eid

In BBEdit, the "if, int, define, include, return, ..." in C are just defined by 1 category called Keywords, whereas in Vim, they are separated. Going to try comparing other languages.


Edit: Another example, VHDL: http://cl.ly/9EX2

@NewAlexandria
Copy link

Yea, I wish I was better at this. The solarized color scheme looks so bad in BBEdit right now that it may be better to not indicate that there is an integration for it. All due repsect to @rcarmo and their time spent.

I'm worried that the basic issue regards the kind of syntax that bbedit is capable of differentiating. The bbcolors file is very thin. Can anyone provide a good guide for creating their own syntax rules in BBEdit?

@NewAlexandria
Copy link

I have found these references, for the adventurous:

BBEdit Codeless Language Module reference / docs

a CLM Tutorial, written for BBEdit 8.5

It's some heavy regex wizardy, which is not excessively-scary. I welcome those interested to talka bout how to divide up efforts to do it. @rcarmo have you looked into BBEdit CLMs?

@rcarmo
Copy link
Owner

rcarmo commented Dec 25, 2012

Merry Xmas! I've since stopped using TextWrangler, so I haven't updated this in a while. Feel free to fork and send me a pull request.

@NewAlexandria
Copy link

Thanks! I'm hunting for where Vim stores the regex statements it uses to define syntax. I think I can use them to pattern the CLM for BBedit. ...nothing like standing on the shoulders of giants.

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

4 participants