Hi all,
Posted this on the board, but may have missed the reply. Interested in other's 
thoughts too:

The idea to extend autocompletion to work when the selection is inside a word 
is great! Nice too that it knows that any selection is intended to be replaced.

But it could be better yet: Currently, if desired to replace "nrow" with 
"nRows" begin by selecting the [r] in nrow, the completion won't work properly: 
It will set the word to "nRowsow".

Why not make it that if a word is found which matches "(?<=n).*(?=ows)" then 
just the part from the selection forwards is replaced.

i.e.,if the look-back alone matches, then behave as now. But if both the 
look-back and the look-forward ahead of the selection match, then include the 
right hand side of the word in the replacement (and probably move the carat 
there).

Thoughts?
_______________________________________________
textmate-dev mailing list
textmate-dev@lists.macromates.com
http://lists.macromates.com/listinfo/textmate-dev

Reply via email to