# Path: pinguino/qtgui/ide/custom_widgets/code_editor/syntax.py



from PySide2 import QtGui, QtCore, QtWidgets
from .syntax import Autocompleter
#! /usr/bin/python
#-*- coding: utf-8 -*-

#import pickle
#import sys
#import re
#import os
#from ConfigParser import RawConfigParser



########################################################################
class Highlighter(QtGui.QSyntaxHighlighter):

    #----------------------------------------------------------------------
    def __init__(self, parent):
        super(Highlighter, self).__init__(parent)
        color = QtGui.QColor

        self.highlightingRules = []
        self.highlightingRulesMatch = []

        reservadas = QtGui.QTextCharFormat()
        reservadas.setForeground(color("#0000ff"))

# Path: pinguino/qtgui/ide/custom_widgets/code_editor/syntax.py



# Path: pinguino/qtgui/ide/custom_widgets/code_editor/pinguino_highlighter.py
from PySide2 import QtGui, QtCore, QtWidgets
from .syntax import Autocompleter

#! /usr/bin/python
#-*- coding: utf-8 -*-

#import pickle
#import sys
#import re
#import os
#from ConfigParser import RawConfigParser



########################################################################
class Highlighter(QtGui.QSyntaxHighlighter):

    #----------------------------------------------------------------------
    def __init__(self, parent):
        super(Highlighter, self).__init__(parent)
        color = QtGui.QColor

        self.highlightingRules = []
        self.highlightingRulesMatch = []

        reservadas = QtGui.QTextCharFormat()
        reservadas.setForeground(color("#0000ff"))

        all_reservadas = Autocompleter["reserved"] + Autocompleter["directive"]