[TextMate] Heuristic for smart typing pairs
Allan Odgaard
allan at macromates.com
Wed Oct 20 16:33:09 UTC 2004
On 20. Oct 2004, at 18:28, Allan Odgaard wrote:
>> So how about adding in the metric of end-of-line vs middle-of-line?
> I think “ws or eol to the right of caret” is better.
Although it doesn't fix setting the end-quotes (it does with end
braces, since these wouldn't cause auto-insertion of anything).
With regards to quotes, I could look to the left to check if these
weren't balanced, to see whether the quote written was an “end quote”.
Kind regards Allan
More information about the textmate
mailing list