Skip to content

Commit

Permalink
- temporary fix for issue #42
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Eberius committed Nov 19, 2012
1 parent b9823fd commit 8a5e2eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sublime_rope.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,8 @@ def _check(self, view):

def _regenerate_cache(self, view):
with ropemate.context_for(view) as context:
# TODO: general solution to syncronizing SublimeRope and Rope (Rope's observers, keep one project open)
context.project.pycore._invalidate_resource_cache(context.resource)
context.importer.generate_cache(resources=[context.resource])


Expand Down

0 comments on commit 8a5e2eb

Please sign in to comment.