For show web preview, allow specification of a url, such that we can see dynamic content.
Jason
Is there an easier way to edit the syntax coloring than opening up the package contents and editing files by hand?
-- jheyer
On 6/10-2004, at 18:51, jheyer wrote:
Is there an easier way to edit the syntax coloring than opening up the package contents and editing files by hand?
No, not currently. You can place files in your local library to override the ones shipping with TM, so you don't edit the original ones (which will be replaced by updates).
Is there an easier way to edit the syntax coloring than opening up the package contents and editing files by hand?
No, not currently. You can place files in your local library to override the ones shipping with TM, so you don't edit the original ones (which will be replaced by updates).
Apologies to ask about something that appears to have already been covered but I guess I didn't sign up for the mailing list quickly enough! I have found that I can make some changes to the coloring for obj-C (/Applications/TextMate/Contents/SharedSupport/Bundles/c.tmbundle/ Syntaxes/ObjectiveC.plist) but how do I get to the settings for elements other than foregroundColor and backgroundColor? Where are the settings for font attributes for comments and such?
Also what can be placed in the ~/Library and where?
tia! jeff
On 6/10-2004, at 19:20, Jeff Ganyard wrote:
Apologies to ask about something that appears to have already been covered but I guess I didn't sign up for the mailing list quickly enough! I have found that I can make some changes to the coloring for obj-C (/Applications/TextMate/Contents/SharedSupport/Bundles/c.tmbundle/ Syntaxes/ObjectiveC.plist) but how do I get to the settings for elements other than foregroundColor and backgroundColor? Where are the settings for font attributes for comments and such?
Take a look at some of the examples shipped with TM. You can use fontStyle = ( bold, italic ); and similar, as well as foregroundColor and backgroundColor as you noted. If you have captures in your RegExp, you can also color them individually. For example to make the text in the 2nd capture bold: "fontStyle[2]" = ( bold ); (the " are needed with tags in the form a[b]).
Also what can be placed in the ~/Library and where?
~/Library/Application Support/TextMate/Bundles (I believe)
On 6/10-2004, at 19:55, Joost Schuttelaar wrote:
It might be smart for a future version of TextMate to create these [~/lib/app support/tm/bundles] directories on first run.
Right.. I didn't notice they weren't being created, since I have had mine from the beta days :).
Will the syntax highlighting colors be more easily customizable? I'd love to see what people can pull off with these (some of vim's great syntax sets come to mind, for example). No offense, but I am not the biggest fan of TM's default colors.
Kevin
On Wed, 06 Oct 2004 20:21:48 +0200, Joost Schuttelaar joost@greenskin.net wrote:
Sune Foldager wrote:
Right.. I didn't notice they weren't being created, since I have had mine from the beta days :).
Lucky bastard ;)
--
Joost Schuttelaar
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/mailman/listinfo/textmate
On 6/10-2004, at 21:09, Kevin Marsh wrote:
Will the syntax highlighting colors be more easily customizable? I'd love to see what people can pull off with these (some of vim's great syntax sets come to mind, for example). No offense, but I am not the biggest fan of TM's default colors.
The colors in TM are fully customizable, and it shouldn't be too hard, especially not if you are used to HTML colors (i.e. 24-bit RGB in hex encoding), which is what TM syntax highlight files use. There are many different opinions on the color schemes used for e.g. C++, so I don't think you will offend anyone if yuo don't like those shipped with TM :-). In a future version, there will be an editor for syntax highlights built into TM.
Will the syntax highlighting colors be more easily customizable? I'd love to see what people can pull off with these (some of vim's great syntax sets come to mind, for example). No offense, but I am not the biggest fan of TM's default colors.
The colors in TM are fully customizable, and it shouldn't be too hard, especially not if you are used to HTML colors (i.e. 24-bit RGB in hex encoding), which is what TM syntax highlight files use. There are many different opinions on the color schemes used for e.g. C++, so I don't think you will offend anyone if yuo don't like those shipped with TM :-). In a future version, there will be an editor for syntax highlights built into TM.
Does the app need to be restarted for syntax color changes to take affect?
On 7/10-2004, at 0:01, Jeff Ganyard wrote:
Does the app need to be restarted for syntax color changes to take affect?
Yes, currently it does. It will be adressed in a future versions. If you want to check syntax highlight patterns (i.e. regex), it's useful to use Search in the document to see if they match correctly. But for new colors, restart is needed currently.
On 07/10/2004, at 2:47 AM, Jason Wong wrote:
For show web preview, allow specification of a url, such that we can see dynamic content.
There's a "Refresh Safari" command (apple script) for that... it just refreshes the current front Safari window, assigned to Cmd-R, which has worked great for me over the past week or so -- can't live without it :)
I think it's planned in the future that the preview window might listen to a URL.
Justin