Hi. I'm not sure if there is some minor adjustment I can make to fix this .... but after installing 1.0.2 my PHP auto-indenting did not work anymore. Here is the pattern from the PHP.plist file that was working fine in <= 1.0.1 :
increaseIndentPattern = "^.*(\{[^}"']*|\([^)"']*)$";
any suggestions? I know the bundle is active because my custom syntax highlighting works.
kumar
On Dec 13, 2004, at 17:31, kumar mcmillan wrote:
increaseIndentPattern = "^.*(\{[^}"']*|\([^)"']*)$";
any suggestions? I know the bundle is active because my custom syntax highlighting works.
There can only be one increaseIndentPattern key. The bundle you sent me a week ago had two (just found out about that now ;) ).
So which one TM uses is undefined. You'll need to either merge them or remove the one if you have no need for it.
On Dec 13, 2004, at 9:19 PM, Allan Odgaard wrote:
On Dec 13, 2004, at 17:31, kumar mcmillan wrote:
increaseIndentPattern = "^.*(\{[^}"']*|\([^)"']*)$";
any suggestions? I know the bundle is active because my custom syntax highlighting works.
There can only be one increaseIndentPattern key. The bundle you sent me a week ago had two (just found out about that now ;) ).
So which one TM uses is undefined. You'll need to either merge them or remove the one if you have no need for it.
ahhh ... I knew another pair of eyes would be helpful. After fiddling with it more I also noticed that since I was using a custom HTML-PHP.plist + a PHP.plist, the increaseIndentPattern would only be recognized when placed in the HTML-PHP.plist (which embeds PHP). Once I zapped the duplicates _and_ moved the increaseIndentPattern to HTML-PHP.plist it worked. You might already know it but maybe this is one thing to address when embedding language plists.
thanks, K