Python sublime_plugin.EventListener() Examples

The following are 1 code examples of sublime_plugin.EventListener(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module sublime_plugin , or try the search function .
Example #1
Source File: Plugin.py    From SublimePapyrus with MIT License 6 votes vote down vote up
def __init__(self):
		super(EventListener,self).__init__()
		self.linterQueue = 0
		self.linterRunning = False
		self.linterErrors = {}
		self.completionRunning = False
		self.validScope = "source.papyrus.skyrim"
		self.completionKeywordAs = ("as\tcast", "As ",)
		self.completionKeywordAuto = ("auto\tkeyword", "Auto",)
		self.completionKeywordAutoReadOnly = ("autoreadonly\tkeyword", "AutoReadOnly",)
		self.completionKeywordConditional = ("conditional\tkeyword", "Conditional",)
		self.completionKeywordExtends = ("extends\tkeyword", "Extends ",)
		self.completionKeywordGlobal = ("global\tkeyword", "Global",)
		self.completionKeywordHidden = ("hidden\tkeyword", "Hidden",)
		self.completionKeywordNative = ("native\tkeyword", "Native",)
		self.completionKeywordParent = ("parent\tkeyword", "Parent",)
		self.completionKeywordSelf = ("self\tkeyword", "Self",)
		self.completionKeywordFalse = ("false\tkeyword", "False",)
		self.completionKeywordNone = ("none\tkeyword", "None",)
		self.completionKeywordTrue = ("true\tkeyword", "True",)
		self.scriptContents = None

	# Clear cache in order to force an update