예제 #1
0
        def init_scintilla(self):
            ''' Initialize configured styles '''
            editor.setMarginWidthN(0,38)
            editor.setMarginWidthN(1,14)
            editor.setMarginWidthN(2,0)

            if editor.getLexer() != LEXER.CONTAINER:
                editor.setLexer(LEXER.CONTAINER)

            editor.styleSetFore(self.ERROR_STYLE, self.ERROR_STYLE_FOREGROUND)
            editor.styleSetFore(self.WARNING_STYLE, self.WARNING_STYLE_FOREGROUND)
예제 #2
0
        def init_scintilla(self):
            ''' Initialize configured styles '''
            editor.setMarginWidthN(0, 38)
            editor.setMarginWidthN(1, 14)
            editor.setMarginWidthN(2, 0)

            if editor.getLexer() != LEXER.CONTAINER:
                editor.setLexer(LEXER.CONTAINER)

            editor.styleSetFore(self.ERROR_STYLE, self.ERROR_STYLE_FOREGROUND)
            editor.styleSetFore(self.WARNING_STYLE,
                                self.WARNING_STYLE_FOREGROUND)
예제 #3
0
        def init_scintilla(self):
            ''' Initialize configured styles '''
            editor.setMarginWidthN(0,38)
            editor.setMarginWidthN(1,14)
            editor.setMarginWidthN(2,0)

            if editor.getLexer() != LEXER.CONTAINER:
                editor.setLexer(LEXER.CONTAINER)

            editor.styleSetFore(self.ODD_COLUMN_STYLE,  (54,125,198))
            editor.styleSetFore(self.EVEN_COLUMN_STYLE, (87,166,74))
            editor.styleSetBack(self.EVEN_COLUMN_STYLE, (0,50,20))
예제 #4
0
        def init_scintilla(self):
            ''' Initialize configured styles '''
            editor.setMarginWidthN(0,38)
            editor.setMarginWidthN(1,14)
            editor.setMarginWidthN(2,0)

            if editor.getLexer() != LEXER.CONTAINER:
                editor.setLexer(LEXER.CONTAINER)

            editor.styleSetFore(self.ODD_COLUMN_STYLE,  (54,125,198))
            editor.styleSetFore(self.EVEN_COLUMN_STYLE, (87,166,74))
            editor.styleSetBack(self.EVEN_COLUMN_STYLE, (0,50,20))