Hi mate,
Just saw your email on the archives... any chance of making that syntax file available to me? I've been mucking about with it much as you did i imagine, but don't quite get how to edit them and have them load. I really want PHP & HTML syntaxing at the same time...
Thanks,
john
Allan,
Thank you for your help !!! Very much appreciated.
As it is right now, I have a choice of highlighting for HTML or for PHP, BUT NOT both at the same time.
No, the "HTML (PHP)" does do this. But the colors of HTML is toned down significantly.
Ahh, the perils of editing syntax files without understanding things fully. I made a colour change to the "HTML (PHP)" syntax file and stored it in the AppSupport directory, so it overrode your file, and in doing so it created plain black text on white background. : (
I have now spent a good few hours tweaking my colours and have HTML with PHP; with CSS; with JS highlighting working just as I want it.
Although time consuming, it has been a very good process to go through, and I have learnt a lot about the syntax structure. As a result, I am very impressed by the inherent power in the syntax format.
My only concern now - as I have migrated to a dark background - is that the cursor is invisible over the edit window. Perhaps something that you are already aware of and working on. (Or perhaps is remedied by some to me unknown setting).
Kind regards,
Mats
Regards,
John Cleary
== Founder, OziMac john@ozimac.com.au http://www.ozimac.com.au ==
Hi mate, Just saw your email on the archives... any chance of making that syntax file available to me? I've been mucking about with it much as you did i imagine, but don't quite get how to edit them and have them load. I really want PHP & HTML syntaxing at the same time...
Thanks, john
Hi John,
Here's the bundle I am working with. Although not perfect, it's much better than any other I have seen so far.
Unzip the file, and place the bundle mxHTML-PHP_Dark.tmbundle inside your /Users/<YOUR_USERNAME>/Library/Application Support/TextMate/Bundles folder and restart TM.
You should find the bundle towards the bottom named mxHTML-PHP_dark, just select it and your code should be OK, it is automatically selecting the CSS, JS (which needs more work) and PHP syntaxes based on your file extensions.
If you make any improvements, etc, please share them.
Kind regards,
Mats
-- -- -- -- -- "For those who aren't familiar with OS X, it is a full implementation of BSD Unix with a Macintosh front end, which is to say world class inside and out. OS X is faster, smarter, prettier, and easier to use than any version of Windows." by Robert X. Cringley, Feb, 2002 [ http://www.pbs.org/cringely/ ] On Nov 26, 2004, at 01:28, John Cleary wrote:
On Nov 26, 2004, at 16:25, Mats Persson wrote:
Unzip the file, and place the bundle mxHTML-PHP_Dark.tmbundle inside your /Users/<YOUR_USERNAME>/Library/Application Support/TextMate/Bundles folder and restart TM.
Just for the records, bundles can be double-clicked to be installed! :)
Would be good IF I attached the file as well, I guess : )
Hi mate, Just saw your email on the archives... any chance of making that syntax file available to me? I've been mucking about with it much as you did i imagine, but don't quite get how to edit them and have them load. I really want PHP & HTML syntaxing at the same time...
Thanks, john
Hi John,
Here's the bundle I am working with. Although not perfect, it's much better than any other I have seen so far.
Unzip the file, and place the bundle mxHTML-PHP_Dark.tmbundle inside your /Users/<YOUR_USERNAME>/Library/Application Support/TextMate/Bundles folder and restart TM.
You should find the bundle towards the bottom named mxHTML-PHP_dark, just select it and your code should be OK, it is automatically selecting the CSS, JS (which needs more work) and PHP syntaxes based on your file extensions.
If you make any improvements, etc, please share them.
Kind regards,
Mats
-- -- -- -- -- "For those who aren't familiar with OS X, it is a full implementation of BSD Unix with a Macintosh front end, which is to say world class inside and out. OS X is faster, smarter, prettier, and easier to use than any version of Windows." by Robert X. Cringley, Feb, 2002 [ http://www.pbs.org/cringely/ ] On Nov 26, 2004, at 01:28, John Cleary wrote: