cut/paste does not work in IDE (again)

Just updated to the latest version of the IDE (2018r2) and once again editing code in the IDE cut / paste is not working. Copy / Paste works. Cut / Paste does not work if other Xojo code was already on the clipboard. Searched and could not find this issue in Feedback, but I guess it’s there, so I’m asking here for the case number. Thanks.

What platform are you on?

Mac. This same thing was happening a few IDE versions ago, then the problem went away. With the latest IDE, it’s back.

Mac PBPro
OS 10.13.6
Xojo 2018r2

  1. Copy some code to the CB
  2. Cut another piece of code using cmd-X
  3. Go to another event
  4. cmd-V
    The cut code is pasted without a problem.

MacBook Pro (15-inch, 2017)
Processor: 3.1 GHz Intel Core i7
Memory: 16 GB 2133 MHz LPDDR3
Graphics: Radeon Pro 560 4096 MB
Intel HD Graphics 630 1536 MB

OS: High Sierra 10.13.6

Xojo: 2018R2

in the IDE:
Copy some source that is all comments. Paste.
Cut some source that is all comments. Paste.
Copy some source that has no comments. Paste.
Cut some source that has no comments. Paste.
Copy mixture of comments and source. Paste.
Cut mixture of comments and source. Paste.

Everything works perfectly.

Also note: I’m using a clipboard utility called Collective that keeps a clipboard history for me so I can have a gazillion things in my copy/paste history. This used to cause issues with copy/paste in the IDE, but either @Norman Palardy figured out how to get the 2 to play nice together, or something changed in recent versions of Collective. Have not had problems for several IDE cycles now.

iMac mid 2007, OSX 10.11.6, Xojo 2018r2

Have the same kind of problems as Aaron. Cutting and pasting code sometimes make a big mess, beyond repair. Undo and Redo seem to make this mess only bigger.
This occurs since 2018r1.1 as I can recall.

[quote=399910:@Joop Riem]iMac mid 2007, OSX 10.11.6, Xojo 2018r2

Have the same kind of problems as Aaron. Cutting and pasting code sometimes make a big mess, beyond repair. Undo and Redo seem to make this mess only bigger.
This occurs since 2018r1.1 as I can recall.[/quote]

Same here. And i always wonder why Xojo Inc. is not affected by such issues. What are we doing wrong? :confused:

weird… just tested with Xojo 2018r2 without any problem… maybe under certain condition… i am using Mac osx 10.13.6, mid 2011 iMac

  1. Reproduce:
  2. Select a line of code and copy it
  3. Position the insert cursor into a line where you want the text pasted
  4. Paste the text
  5. Immediatly undo with CTRL-Z

Taken from: <https://xojo.com/issue/52872>

[quote]1. Reproduce:

Select a line of code and copy it
Position the insert cursor into a line where you want the text pasted
Paste the text
Immediatly undo with CTRL-Z
[/quote]
Exactly, just got my code mixed up again…

There is a verified Feedback case <https://xojo.com/issue/51983>

:smiley:

Thanks Maximilian. I knew I had seen the Feedback case before :slight_smile: