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

global name 'REFRESH_INVERVAL' is not defined #16

Closed
liuhewei opened this issue Mar 30, 2015 · 2 comments
Closed

global name 'REFRESH_INVERVAL' is not defined #16

liuhewei opened this issue Mar 30, 2015 · 2 comments

Comments

@liuhewei
Copy link
Contributor

Error reported when loading plugin: you can see messages below in console (ctrl + `).

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 272, in on_modified
    callback.on_modified(v)
  File "HighlightWords in /Users/lhw/Library/Application Support/Sublime Text 3/Installed Packages/HighlightWords.sublime-package", line 139, in on_modified
NameError: global name 'REFRESH_INVERVAL' is not defined

Seems that the definition of 'REFRESH_INVERVAL' should be put outside of the class 'HighlightKeywordsCommand'. (After done this, errors disappear.)

@xacid
Copy link
Contributor

xacid commented Mar 30, 2015

This should fix it.
143024e

seanliang added a commit that referenced this issue Mar 31, 2015
@seanliang
Copy link
Owner

Fixed. Thanks @liuhewei @xacid

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

No branches or pull requests

3 participants