# Path: keyword_highlighter.py
# def allindices(string, sub, listindex=[], offset=0):
#   def __init__(self, parent = None):
#   def highlightBlock(self, text):
#   def add_keyword(self, word):
#   def add_keywords(self, words):
#   def set_keyword(self, word):
#   def set_keywords(self, words):
#   def clear_keywords(self):
# class KeywordHighlighter(QtGui.QSyntaxHighlighter):


from PyQt4 import Qt, QtGui, QtCore
from PyQt4.QtCore import QRect, QSignalMapper
from PyQt4.QtGui import QTextCursor, QApplication
from keyword_highlighter import KeywordHighlighter, Keyword
  import cPickle as pickle
  import pickle
import terminology
import time
﻿################################################################################
### Copyright © 2012-2013 BlackDragonHunt
### 
### This file is part of the Super Duper Script Editor.
### 
### The Super Duper Script Editor is free software: you can redistribute it
### and/or modify it under the terms of the GNU General Public License as
### published by the Free Software Foundation, either version 3 of the License,
### or (at your option) any later version.
### 
### The Super Duper Script Editor is distributed in the hope that it will be
### useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
### GNU General Public License for more details.
### 
### You should have received a copy of the GNU General Public License
### along with the Super Duper Script Editor.
### If not, see <http://www.gnu.org/licenses/>.
################################################################################


try:
except:


class KeywordEdit(QtGui.QTextEdit):
  def __init__(self, parent):
    super(KeywordEdit, self).__init__(parent)
    self.setAcceptRichText(False)

# Path: keyword_highlighter.py
# def allindices(string, sub, listindex=[], offset=0):
#   def __init__(self, parent = None):
#   def highlightBlock(self, text):
#   def add_keyword(self, word):
#   def add_keywords(self, words):
#   def set_keyword(self, word):
#   def set_keywords(self, words):
#   def clear_keywords(self):
# class KeywordHighlighter(QtGui.QSyntaxHighlighter):


# Path: keywordedit.py
from PyQt4 import Qt, QtGui, QtCore
from PyQt4.QtCore import QRect, QSignalMapper
from PyQt4.QtGui import QTextCursor, QApplication
from keyword_highlighter import KeywordHighlighter, Keyword
  import cPickle as pickle
  import pickle
import terminology
import time

﻿################################################################################
### Copyright © 2012-2013 BlackDragonHunt
### 
### This file is part of the Super Duper Script Editor.
### 
### The Super Duper Script Editor is free software: you can redistribute it
### and/or modify it under the terms of the GNU General Public License as
### published by the Free Software Foundation, either version 3 of the License,
### or (at your option) any later version.
### 
### The Super Duper Script Editor is distributed in the hope that it will be
### useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
### GNU General Public License for more details.
### 
### You should have received a copy of the GNU General Public License
### along with the Super Duper Script Editor.
### If not, see <http://www.gnu.org/licenses/>.
################################################################################


try:
except:


class KeywordEdit(QtGui.QTextEdit):
  def __init__(self, parent):
    super(KeywordEdit, self).__init__(parent)
    self.setAcceptRichText(False)

    self.highlighter = KeywordHighlighter(self.document())