Hello, I have MyTextModel class - a subclass of TextModel, it holds an ast of it's text. When I replace node of the ast using replaceWith: ast is changed, then I say text: ast formattedCode, so the text is changed too. But! when I inspect new ast(after replacing some node), I see that source interval isn't changed. Why? If I say bestNodeFor: someInterval, it doesn't give me the right node, because sourceInterval of ast wasn't changed, and I don't know why. Hope you will help me out:)
Best, Mark -- View this message in context: http://forum.world.st/AST-source-interval-isn-t-changed-tp4772779.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.