Source code for AlphaHooks.widgets.editor.lexers.config
from PyQt5.QtCore import QObject
[docs]class LexerBase(QObject):
"""
Common properties of all lexers.
"""
def __init__(self, ui, font):
"""
:param ui: used to access 'main.ui' methods
:param font: settings in EditorProperty
"""
self.ui = ui
self.font = font