Found it. A snippet in another language bundle (KSP, recently added) was causing it.
I didn't know that snippets all bundles are simultaneously active. Is this norma behaviour or is this a bug or configuration option?
thanks - bruno
On May 15, 2014, at 9:28, Bruno Degazio lifemusic@sympatico.ca wrote:
Whenever I type a ':' (colon) character Textmate automatically inserts an equals sign. At first I thought something changed in my language bundle (Forth) but this happens with any language bundle active. I've turned off the Auto-pairing option in Preferences, and I am not using any form of auto-completion (to my knowledge), but it without remedying the problem. Needless to say this paring of characters is a nuisance in Forth, where I frequently want to write a colon on its own, without the equal-sign.
Can anyone suggest where else I should look to turn this off? I'm in Textmate 1.5.11
thanks in advance
- bruno
============================ Bruno Degazio Professor, Faculty of Arts, Animation and Design Sheridan College degazio@sheridancollege.ca
I didn't know that snippets all bundles are simultaneously active. Is this norma behaviour or is this a bug or configuration option?
Individual bundle items have a scope which is what TM uses to control where they are in effect. So any active bundle can have bundle items that affect any scope. Sounds like the scope for that item was set incorrectly.
I didn't know that snippets all bundles are simultaneously active. Is this norma behaviour or is this a bug or configuration option?
This is the same problem I talked about here:
http://lists.macromates.com/textmate/2014-February/036997.html
There is no way to ask TextMate "what bundles might be affecting this scope"?
Thus, to learn what's causing a phenomenon, you have to look through _every_ bundle, by hand. This is just the kind of thing you'd think a computer would be better and more efficient at than a human...! m.
-- matt neuburg, phd = http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
On 15 May 2014, at 22:17, Matt Neuburg wrote:
[…] There is no way to ask TextMate "what bundles might be affecting this scope"?
Not entirely true. The OP could have used Bundles → Select Bundle Item…, switched to Key Equivalent search, and pressed ‘:’, which should have shown the bad snippet.
[…] This is just the kind of thing you'd think a computer would be better and more efficient at than a human...!
Before the computer is better and more efficient at it, it requires that a human spends time and resources designing and implementing a system to allow it. As I previously replied, I do wish to extend the current Bundle Item Chooser to allow querying on more than just name, tab trigger, and key equivalent, but it’s just one item on a long list…