Sublime Forum

Bug: Copy-Paste

#1

Reproduce:
-Create project.
-Edit. Make an error so this message show:

Sublime Text 2

Error trying to parse project: Trailing comma before closing bracket in C:\Stuff\SublimeText Projects\release-1.6.x:14:5

ОК

-Go to another tab in sublime. Copy text.
-Try to paste in project.
-ERROR MESSAGE PASTED!

Seems to be because error message window was on background. Windows environment.

0 Likes

#2

[size=70]I don’t see a second error message here (except that SublimeLinter produces an error on each modification in the project file).[/size]

Win7x64

Edit: Ah, I get it now. You mustn’t close the message box, then the pasted message would that one from copying from the message box. I guess it is eating the “ctrl+c” keybinding or something.

0 Likes

#3

That’s default behaviour in Windows for every software. When a modal popup is on focus, CTRL+C will copy the message text.

0 Likes

#4

@tito: Yes, but the message is in fact not the active window (because it’s not modal). If you have windows, try it yourself. It often happens to me that I forget to close the message box and it’s still open in the background while I’m still using ST.

0 Likes