def __init__(self): KoUDLLanguage.__init__(self) KoLanguageBaseDedentMixin.__init__(self) self.matchingSoftChars = {"(": (")", None), "{": ("}", None), "[": ("]", None), '"': ('"', self.softchar_accept_matching_double_quote) } self._setupIndentCheckSoftChar()
def __init__(self): KoUDLLanguage.__init__(self) KoLanguageBaseDedentMixin.__init__(self) # get the comment prefs and set that, then observe for pref changes self.__prefs = components.classes["@activestate.com/koPrefService;1"].\ getService(components.interfaces.koIPrefService).prefs self.commentDelimiterInfo['line'] = self.__prefs.getStringPref("phpCommentStyle").split(",") self._observer = xpcom.server.WrapObject(self, components.interfaces.nsIObserver) self.__prefs.prefObserverService.addObserver(self._observer, "phpCommentStyle", 0) self._setupIndentCheckSoftChar()
def __init__(self): KoUDLLanguage.__init__(self) KoLanguageBaseDedentMixin.__init__(self) # get the comment prefs and set that, then observe for pref changes self.__prefs = components.classes["@activestate.com/koPrefService;1"].\ getService(components.interfaces.koIPrefService).prefs self.commentDelimiterInfo['line'] = self.__prefs.getStringPref( "phpCommentStyle").split(",") self._observer = xpcom.server.WrapObject( self, components.interfaces.nsIObserver) self.__prefs.prefObserverService.addObserver(self._observer, "phpCommentStyle", 0) self._setupIndentCheckSoftChar()
def __init__(self): KoUDLLanguage.__init__(self) KoLanguageBaseDedentMixin.__init__(self) # get the comment prefs and set that, then observe for pref changes self.__prefs = components.classes["@activestate.com/koPrefService;1"].\ getService(components.interfaces.koIPrefService).prefs self.commentDelimiterInfo['line'] = self.__prefs.getStringPref("phpCommentStyle").split(",") self._observer = xpcom.server.WrapObject(self, components.interfaces.nsIObserver) self.__prefs.prefObserverService.addObserver(self._observer, "phpCommentStyle", 0) self._setupIndentCheckSoftChar() self._fastCharData = \ FastCharData(trigger_char=";", style_list=(sci_constants.SCE_UDL_SSL_OPERATOR,), skippable_chars_by_style={ sci_constants.SCE_UDL_SSL_OPERATOR : "])",}, for_check=True)
def __init__(self): KoUDLLanguage.__init__(self) KoLanguageBaseDedentMixin.__init__(self) # get the comment prefs and set that, then observe for pref changes self.__prefs = components.classes["@activestate.com/koPrefService;1"].\ getService(components.interfaces.koIPrefService).prefs self.commentDelimiterInfo['line'] = self.__prefs.getStringPref( "phpCommentStyle").split(",") self._observer = xpcom.server.WrapObject( self, components.interfaces.nsIObserver) self.__prefs.prefObserverService.addObserver(self._observer, "phpCommentStyle", 0) self._setupIndentCheckSoftChar() self._fastCharData = \ FastCharData(trigger_char=";", style_list=(sci_constants.SCE_UDL_SSL_OPERATOR,), skippable_chars_by_style={ sci_constants.SCE_UDL_SSL_OPERATOR : "])",}, for_check=True)
def __init__(self): KoUDLLanguage.__init__(self) self.softchar_accept_matching_single_quote = self._filter_quotes_in_plaintext_context self.softchar_accept_matching_double_quote = self._filter_quotes_in_plaintext_context
def __init__(self): KoUDLLanguage.__init__(self) KoLanguageBaseDedentMixin.__init__(self)