[Newcompiler] Changing just a part of a method

Damien Cassou damien.cassou at gmail.com
Fri Jul 27 12:27:32 UTC 2007


Hi,

is it possible to rewrite only a small part of a method without
reindenting everything? I'm using ParseTreeRewriter to change code
from

'ReadStream on: ``@Expression'

to

'``@Expression readStream'


However, when I compile the new tree back, all the indentation is
changed, all $_ are converted to :=...

When I then browse the changes with Monticello, the change I made is
not clear because it's lost in the other changes.

Is there any solution?

-- 
Damien Cassou


More information about the Newcompiler mailing list