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 <martin@hand2mouse.com> 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
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
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