~mcfletch/eric/update-to-4.5.13

« back to all changes in this revision

Viewing changes to eric/QScintilla/Lexers/LexerLua.py

Tags: 4.5.0-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- coding: utf-8 -*-
2
2
 
3
 
# Copyright (c) 2005 - 2011 Detlev Offenbach <detlev@die-offenbachs.de>
 
3
# Copyright (c) 2005 - 2012 Detlev Offenbach <detlev@die-offenbachs.de>
4
4
#
5
5
 
6
6
"""
60
60
        return style in [QsciLexerLua.String, 
61
61
                         QsciLexerLua.LiteralString, 
62
62
                         QsciLexerLua.UnclosedString]
 
63
    
 
64
    def defaultKeywords(self, kwSet):
 
65
        """
 
66
        Public method to get the default keywords.
 
67
        
 
68
        @param kwSet number of the keyword set (integer)
 
69
        @return string giving the keywords (string) or None
 
70
        """
 
71
        return QsciLexerLua.keywords(self, kwSet)