Hello i wonder what is the easiest way to add some custom syntax highlighting elements to the php language, the language syntax part in the manual is quite complex. =/
IE: I want to highlight in red the custom functions: myfunc1 , myfunc2, myfunc3.
Where do i put the patterns without interfering with the php bundle?, thanks in advance
Does anybody know a way to print the output to a new window ONLY if it is non-empty? Perhaps otherwise display a tooltip with a fixed string ("no errors")?
Background: I am using the cmd-r shortcut to make the project and want to display errors - if there are any - in a new window. But in most of the cases everything's fine and I have to close that window.
Would be really time-saving if anybody knew a solution.
Cheers, Nick
On 22 Oct 2008, at 10:42, Nikolaus Binder wrote:
Does anybody know a way to print the output to a new window ONLY if it is non-empty? Perhaps otherwise display a tooltip with a fixed string ("no errors")?
See http://manual.macromates.com/en/commands#changing_output_type
Btw: avoid replying to existing letters when asking new questions.