I got it. To determine the range of the selection the tools now use the AST. So this is fair.
S > On 27 Aug 2020, at 20:51, Martin McClure <[email protected]> wrote: > > This is not definite knowledge, but some code I was digging through yesterday > suggests that it *might* be for syntax highlighting of the class definition. > > Regards, > -Martin > > On 8/27/20 11:16 AM, Stéphane Ducasse wrote: >> Hi >> >> I’m working on a nice class definition and I’m exploring…. >> And I wonder why copy and pasting class definition invokes the class parser? >> >> S >> -------------------------------------------- >> Stéphane Ducasse >> http://stephane.ducasse.free.fr <http://stephane.ducasse.free.fr/> / >> http://www.pharo.org <http://www.pharo.org/> >> 03 59 35 87 52 >> Assistant: Aurore Dalle >> FAX 03 59 57 78 50 >> TEL 03 59 35 86 16 >> S. Ducasse - Inria >> 40, avenue Halley, >> Parc Scientifique de la Haute Borne, Bât.A, Park Plaza >> Villeneuve d'Ascq 59650 >> France >> > -------------------------------------------- Stéphane Ducasse http://stephane.ducasse.free.fr / http://www.pharo.org 03 59 35 87 52 Assistant: Aurore Dalle FAX 03 59 57 78 50 TEL 03 59 35 86 16 S. Ducasse - Inria 40, avenue Halley, Parc Scientifique de la Haute Borne, Bât.A, Park Plaza Villeneuve d'Ascq 59650 France
