On Fri, Oct 19, 2012 at 6:59 PM, Damien Pollet <damien.pollet@gmail.com> wrote:
On 19 October 2012 18:45, Guillermo Polito <guillermopolito@gmail.com> wrote:
> "this same happens with simple quotes"
> ws contents: ''
> type: $" $"
> expected: (String with: $" with: $")

�with the cursor at the end

> ws contents: ''
> type: $" $'
> expected: (String with: $" with: $' with: $") or (String with: $" with: $'
> with: $' with: $") ?
> current: (String with: $" with: $' with: $")

TextMate says "'|" (| representing the insertion point). It makes
sense, in a comment there is a good chance that you mean an apostrophe
rather than a opening a literal string.

> So, what is that you feel annoying from the smart chars??
> Could you add your own example? :D

TextMate has special cases when there are non-white characters to the
right of the insertion point before inserting an opening bracket, e.g.

ws contents: '|foo'
type: $(
expected: '(foo'

ws contents: '| foo'
type: $(
expected: '() foo'

Yes, these are cool. I'll add them to my failing tests :)�

--
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet