Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replacement doesn't work #75

Open
Kristinita opened this issue Jul 11, 2016 · 3 comments
Open

Replacement doesn't work #75

Kristinita opened this issue Jul 11, 2016 · 3 comments
Labels

Comments

@Kristinita
Copy link

Kristinita commented Jul 11, 2016

Hello. Windows 10, Sublime Text 3 Build 3114. I want to replace my working file with the file in the Local History folder. In my file Right mouse click → Local HistoryReplace, but changes nothing, but changes nothing. Traceback:

Traceback (most recent call last):
  File "LocalHistory in E:\Sublime Text 3\Data\Installed Packages\Local History.sublime-package", line 232, in on_done
  File "./python3.3/encodings/cp1251.py", line 23, in decode
UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position 20626: character maps to <undefined>

What do I have to make to carry out replacement? Thanks.

@jrappen
Copy link
Contributor

jrappen commented Sep 12, 2016

@Kristinita please see if the latest updates resolve your issue, Package Control should update within the next hour or so.

@Kristinita
Copy link
Author

Kristinita commented Sep 13, 2016

@jrappen, unfortunately, replacement is not performed.

command: history_replace
Traceback (most recent call last):
  File "LocalHistory in E:\Sublime Text 3 Portable For Tests\Data\Installed Packages\Local History.sublime-package", line 241, in on_done
  File "E:\Sublime Text 3 Portable For Tests\sublime.py", line 710, in replace
    raise ValueError("Edit objects may not be used after the TextCommand's run method has returned")
ValueError: Edit objects may not be used after the TextCommand's run method has returned

@Kristinita
Copy link
Author

@jrappen , actually in Build 3126

Traceback (most recent call last):
  File "LocalHistory in E:\Sublime Text Build 3126 For Debug\Data\Installed Packages\Local History.sublime-package", line 241, in on_done
  File "E:\Sublime Text Build 3126 For Debug\sublime.py", line 821, in replace
    raise ValueError("Edit objects may not be used after the TextCommand's run method has returned")
ValueError: Edit objects may not be used after the TextCommand's run method has returned

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants