Oct. 29, 2014
9:09 a.m.
P.S. I have a solution, but don't know if it's appropriate: I remove updating of source interval from replaceWith: method, but my tool will do all the calculations of interval on it's own. 2014-10-29 10:59 GMT+02:00 Mark Rizun <mrizun@gmail.com>:
That is way I'd like to have automatically updated source interval.
I'm still not entirely sure why. Source intervals are only there to help relating the ast to the source, not much else, really.
I use source intervals to detect which node is selected and than in the right-click menu user can see only options that are relevanto to selected node, as it is also made in SmartSuggestions.