Closed engbmsdev closed 9 years ago
Ah thanks for bringing this to our attention! I'll get on it right away :)
I looked into this last night and was curious how you intend to fix it. It looks like that's a snippet:expand
event, could we bind to that and somehow tell the client that the text we're replacing is part of a snippet replace?
Hi there! I realized I was completely short-sighted in how I defined a 'buffer substitution' -- it used to be when the old range contained the new range, not realizing it can actually be the other way round. E.g when expanding snippets, the new range is a superset of the old range.
A bit mad how simple the solution was. I'll roll this out in version 2.0.0, which has a bunch of new features, e.g. multiple tab sharing
When I use a code snippet (e.g.
script
+TAB
on HTML page), my friend receives the evaluated snippet + snippet identifier.My workstation
My friend
Thank you!