n1k0 / SublimeHighlight

A humble SublimeText package for exporting highlighted code as RTF or HTML
https://github.com/n1k0/SublimeHighlight
MIT License
788 stars 105 forks source link

Failed in windows7 #48

Open funtion opened 10 years ago

funtion commented 10 years ago

Win a try to copy as HTML,I could not paste anything.I got the error form the console: Traceback (most recent call last): File ".\sublimeplugin.py", line 356, in run return self.run(edit, **args) File ".\SublimeHighlight.py", line 152, in run File ".\winclipinit.py", line 57, in Paste File ".\winclipinit.py", line 80, in Put ValueError: Procedure probably called with too many arguments (8 bytes in excess)

Shoubi commented 10 years ago

I have the same problem and correct it with the following steps:

SetClipboardData takes only 2 parameters: http://msdn.microsoft.com/en-us/library/windows/desktop/ms649051(v=vs.85).aspx

klashxx commented 8 years ago

Thanks @Shoubi

n1k0 commented 8 years ago

Could you guys create a PR for this?