I get a bit of “spam” in the console when I use your plugin (ST 2, v2165 portable):
app ready
pre session restore time: 0.277987
Traceback (most recent call last):
File ".\sublime_plugin.py", line 211, in on_deactivated
callback.__module__, "on_deactivated", EVENT_TIMEOUT)
File ".\sublime_plugin.py", line 155, in run_timed_function
ret = f()
File ".\sublime_plugin.py", line 210, in <lambda>
run_timed_function(lambda: callback.on_deactivated(v),
File ".\BufferScroll.py", line 33, in on_deactivated
File ".\BufferScroll.py", line 77, in save
AttributeError: 'View' object has no attribute 'folded_regions'
wrote startup cache, added files: 2 orphaned files: 3 total files: 127 cache hits: 125
startup time: 0.362697 (package setup was not run)
loaded 941 snippets
Traceback (most recent call last):
File ".\sublime_plugin.py", line 211, in on_deactivated
callback.__module__, "on_deactivated", EVENT_TIMEOUT)
File ".\sublime_plugin.py", line 155, in run_timed_function
ret = f()
File ".\sublime_plugin.py", line 210, in <lambda>
run_timed_function(lambda: callback.on_deactivated(v),
File ".\BufferScroll.py", line 33, in on_deactivated
File ".\BufferScroll.py", line 77, in save
AttributeError: 'View' object has no attribute 'folded_regions'
I have several files open but none of them is a duplicate (e.g. via “clone file”) of each other.
Regards,
Highend