���� | retry |i bet it should be something like this:that could work, except that it will change the default behavior for compilation,i am also not sure the implementation of #translate is sound:
and raise exception in cases if you wanna silently load code etc, which is unwanted.
translate
��� [ self compile ] on: ReparseAfterSourceEditing do: [ :ex |
��� ��� self source: ex newSource readStream.
��� ��� self compile
��� �] .
��� ^ ast
translate��� [ [ retry := false. self compile ] on: ReparseAfterSourceEditing do: [ :ex |
��� ��� self source: ex newSource readStream.
��� ��� retry := true.
��� �].���� retry ] whileTrue.^ ast--On 11 January 2014 00:32, Nicolai Hess <nicolaihess@web.de> wrote:
regardsBut I am not sure about the side effects and if this is the right placetextchanges are reparsed and the textview is properly updated.Can someone take a look on my comment for issue 12442.Calling compiler ..." translate" instead of "compile" makes sure that
to change the compile call.
Nicolai
Best regards,
Igor Stasenko.