Ask Your Question
1

paste with <cr> shows "error executing command .internal.edit.paste"

asked 2020-01-23 06:53:13 -0500

pymike gravatar image

updated 2020-01-29 19:00:19 -0500

I just upgraded to 7.2.0.2 on MacOS. If I do the following while editing a python source file:

click three times with left-mouse-button to select an entire line hit Ctrl-C to copy the selection hit Enter to advance one line hit Ctrl-V to paste the selection

Wing presents a modal dialog with the message "Error executing command .internal.edit.paste"

I would have noticed this if it happened with previous versions.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-01-23 08:00:25 -0500

updated 2020-01-29 19:01:10 -0500

This has been fixed in version 7.2.1.0.

It was a bug where it's failing to auto-indent the pasted code after it has been placed. It occurs with certain things that contain a blank line before a 'def', 'class' or decorator is found in the pasted text.

A work-around would be to select the pasted code and Use Source > Indentation > Indent or Source > Indentation > Outdent. It's the Indent to Match function that's got the bug.

Sorry about that!

edit flag offensive delete link more

Comments

ok thanks for the quick reply, its definitely not a sev-1 issue...

pymike gravatar imagepymike ( 2020-01-23 10:13:38 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2020-01-23 06:53:13 -0500

Seen: 170 times

Last updated: Jan 29