def _onInstall(self, editor):
     Mode._onInstall(self, editor)
     for k, v in DEFAULT_LIGHT_STYLES.items():
         self.editor.style.addProperty(k, v, "Python")
     self.__foreground = self.editor.style.value(
         "whiteSpaceForeground")
     self.__bck = self.editor.style.value("background").name()
Example #2
0
 def _onInstall(self, editor):
     Mode._onInstall(self, editor)
 def _onInstall(self, editor):
     Mode._onInstall(self, editor)
     if get_server():
         get_server().signals.workCompleted.connect(self._onWorkFinished)