SublimeHighlight
SublimeHighlight copied to clipboard
Failed in windows7
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 ".\sublime_plugin.py", line 356, in run_ return self.run(edit, **args) File ".\SublimeHighlight.py", line 152, in run File ".\winclip__init__.py", line 57, in Paste File ".\winclip__init__.py", line 80, in Put ValueError: Procedure probably called with too many arguments (8 bytes in excess)
I have the same problem and correct it with the following steps:
- In SublimeText menu, go to "Preferences" => "Browse Packages..."
- Navitage to "Highlight\winclip" folder
- Edit init.py line 80 : change "scd(c_int(format), hCd, 0, False)" by "scd(c_int(format), hCd)"
- Save file and restart SublimeText
- "copy as HTML" should work now
SetClipboardData takes only 2 parameters: http://msdn.microsoft.com/en-us/library/windows/desktop/ms649051(v=vs.85).aspx
Thanks @Shoubi
Could you guys create a PR for this?