pharo-project / pharo

Pharo is a dynamic reflective pure object-oriented language supporting live programming inspired by Smalltalk.
http://pharo.org
Other
1.2k stars 355 forks source link

Quotes automatic insertion broken #16760

Open pavel-krivanek opened 3 months ago

pavel-krivanek commented 3 months ago

Bug description Quotes are sometimes added in very inappropriate situations and moreover, not consistently.

To Reproduce Steps to reproduce the behavior:

  1. open Playground and put there this text:
    'Copy and Paste back this line'.
    'Copy and Paste back this line'.
    'Copy and Paste back this line'.
  2. select first line, cut it (Ctrl-X or alternative) and paste it back (Ctrl-V or alternative).
  3. the text is pasted as:
    ''Copy and Paste back this line''.
  4. same for the second line. But the third line pastes the text without quotes doubling.

The same for for ' and "

Version information:

AlexisCnockaert commented 3 months ago

can't reproduce the behavior