branch : pmacs2
This commit is contained in:
moculus 2007-10-22 00:52:48 +00:00
parent ebd455135f
commit e4a0daf24e
30 changed files with 30 additions and 30 deletions

View File

@ -1,5 +1,5 @@
import re, sys
from lex3 import Token
from lex import Token
color_list = []
color_list.extend(['\033[3%dm' % x for x in range(0, 8)])

View File

@ -1,6 +1,6 @@
import commands
import color, mode2
from lex3 import Grammar, PatternRule, RegionRule, Grammar
from lex import Grammar, PatternRule, RegionRule, Grammar
from method import Method
from mode.perl import PerlGrammar
from mode.xml import TagGrammar

View File

@ -1,7 +1,7 @@
import color, mode2
from point import Point
from lex3 import Grammar, PatternRule, RegionRule
from lex import Grammar, PatternRule, RegionRule
class MetadataGrammar(Grammar):
rules = [

View File

@ -1,6 +1,6 @@
import os, popen2, re
import color, default, method, mode2, tab2
from lex3 import Grammar, PatternRule, RegionRule
from lex import Grammar, PatternRule, RegionRule
from mode.python import StringGrammar
# this might not be complete...

View File

@ -1,5 +1,5 @@
import color, mode2
from lex3 import Grammar, PatternRule, RegionRule
from lex import Grammar, PatternRule, RegionRule
from mode.python import StringGrammar
class ConsoleGrammar(Grammar):

View File

@ -1,6 +1,6 @@
import code, string, StringIO, sys, traceback
import color, completer, method, mode2
from lex3 import Grammar, PatternRule
from lex import Grammar, PatternRule
from point import Point
class ConsoleMini(mode2.Fundamental):

View File

@ -1,5 +1,5 @@
import color, mode2
from lex3 import Grammar, PatternRule, NocasePatternRule, RegionRule, NocaseRegionRule
from lex import Grammar, PatternRule, NocasePatternRule, RegionRule, NocaseRegionRule
from point import Point
class StringGrammar(Grammar):

View File

@ -1,5 +1,5 @@
import color, method, mode2, re
from lex3 import Grammar, PatternRule, RegionRule
from lex import Grammar, PatternRule, RegionRule
class DiffGrammar(Grammar):
rules = [

View File

@ -1,6 +1,6 @@
import commands, dirutil, grp, method, mode2, os.path, pwd, re
import buffer, window2
from lex3 import Grammar, PatternRule, RegionRule, PatternGroupRule
from lex import Grammar, PatternRule, RegionRule, PatternGroupRule
from point import Point
from method import Method, Argument

View File

@ -1,7 +1,7 @@
import commands, os.path, sets, string, sys, traceback
import color, completer, default, mode2, method, regex, tab2
from point import Point
from lex3 import Grammar, PatternRule, RegionRule, OverridePatternRule
from lex import Grammar, PatternRule, RegionRule, OverridePatternRule
class StringGrammar(Grammar):
rules = [

View File

@ -1,6 +1,6 @@
import string
import color, mode2
from lex3 import Grammar, PatternRule, RegionRule
from lex import Grammar, PatternRule, RegionRule
from method import Method, Argument
from point import Point

View File

@ -1,5 +1,5 @@
import color, mode2
from lex3 import Grammar, PatternRule, RegionRule
from lex import Grammar, PatternRule, RegionRule
from mode.xml import TagGrammar
from mode.javascript import JavascriptGrammar, Javascript

View File

@ -1,5 +1,5 @@
import color, mode2, tab2
from lex3 import Grammar, PatternRule, RegionRule
from lex import Grammar, PatternRule, RegionRule
from mode.python import StringGrammar
from mode.c import CTabber

View File

@ -1,5 +1,5 @@
import color, mode2, tab2
from lex3 import Grammar, PatternRule, RegionRule
from lex import Grammar, PatternRule, RegionRule
from point import Point
from mode.python import StringGrammar

View File

@ -1,7 +1,7 @@
import commands, os.path, sets, string, sys, traceback
import color, completer, default, mode2, method, regex, tab2
from point import Point
from lex3 import Grammar, PatternRule, RegionRule, OverridePatternRule
from lex import Grammar, PatternRule, RegionRule, OverridePatternRule
from mode.python import StringGrammar
class LispGrammar(Grammar):

View File

@ -1,5 +1,5 @@
import color, mode2
from lex3 import Grammar, PatternRule, RegionRule, PatternGroupRule
from lex import Grammar, PatternRule, RegionRule, PatternGroupRule
from mode.sh import ShGrammar, Sh
class StringGrammar(Grammar):

View File

@ -1,7 +1,7 @@
import re
import color, mode2, method
import mode.text
from lex3 import Grammar, PatternRule
from lex import Grammar, PatternRule
class MuttGrammar(Grammar):
rules = [

View File

@ -1,5 +1,5 @@
import color, mode2
from lex3 import Grammar, PatternRule, RegionRule
from lex import Grammar, PatternRule, RegionRule
class StringGrammar(Grammar):
rules = [

View File

@ -1,7 +1,7 @@
import commands, os.path, sets, string, sys, traceback
import color, completer, default, mode2, method, regex, tab2
from point import Point
from lex3 import Grammar, PatternRule, RegionRule, NocasePatternRule
from lex import Grammar, PatternRule, RegionRule, NocasePatternRule
class StringGrammar(Grammar):
rules = [

View File

@ -1,7 +1,7 @@
import re, sets, string, sys
import color, commands, default, method, mode2, regex, tab2
from point import Point
from lex3 import Grammar, PatternRule, ContextPatternRule, RegionRule, OverridePatternRule, PatternGroupRule
from lex import Grammar, PatternRule, ContextPatternRule, RegionRule, OverridePatternRule, PatternGroupRule
from method import Argument, Method, WrapParagraph
class PodGrammar(Grammar):

View File

@ -1,7 +1,7 @@
import commands, os.path, sets, string, sys, traceback
import color, completer, default, mode2, method, regex, tab2
from point import Point
from lex3 import Grammar, PatternRule, RegionRule, OverridePatternRule
from lex import Grammar, PatternRule, RegionRule, OverridePatternRule
class StringGrammar(Grammar):
rules = [

View File

@ -1,5 +1,5 @@
import color, mode2
from lex3 import Grammar, PatternRule, RegionRule, PatternGroupRule
from lex import Grammar, PatternRule, RegionRule, PatternGroupRule
class RSTString(Grammar):
rules = [

View File

@ -1,7 +1,7 @@
import commands, os.path, sets, string, sys, traceback
import color, completer, default, mode2, method, regex, tab2
from point import Point
from lex3 import Grammar, PatternRule, RegionRule, OverridePatternRule
from lex import Grammar, PatternRule, RegionRule, OverridePatternRule
import mode.lisp
class SchemeGrammar(Grammar):

View File

@ -1,6 +1,6 @@
import commands
import color, mode2, tab2
from lex3 import Grammar, PatternRule, RegionRule
from lex import Grammar, PatternRule, RegionRule
from method import Method
class StringGrammar(Grammar):

View File

@ -1,5 +1,5 @@
import mode2, tab2
from lex3 import Grammar, PatternRule, NocasePatternRule, RegionRule, NocaseRegionRule
from lex import Grammar, PatternRule, NocasePatternRule, RegionRule, NocaseRegionRule
from mode.python import StringGrammar
class PlPgSqlGrammar(Grammar):

View File

@ -1,5 +1,5 @@
import color, mode2, method, ispell
from lex3 import Token, Rule, PatternRule, RegionRule, Grammar
from lex import Token, Rule, PatternRule, RegionRule, Grammar
class WordRule(PatternRule):
def __init__(self):

View File

@ -1,5 +1,5 @@
import color, mode2, mode.text, method, ispell
from lex3 import Token, Rule, PatternRule, RegionRule, Grammar
from lex import Token, Rule, PatternRule, RegionRule, Grammar
from mode.text import WordRule, ContinuedRule
class Text2Grammar(Grammar):

View File

@ -1,5 +1,5 @@
import color, mode2
from lex3 import Grammar, PatternRule, RegionRule
from lex import Grammar, PatternRule, RegionRule
#from mode.xml import TagGrammar
from mode.perl import StringGrammar

View File

@ -1,5 +1,5 @@
import color, mode2
from lex3 import Grammar, PatternRule, RegionRule
from lex import Grammar, PatternRule, RegionRule
class TagGrammar(Grammar):
rules = [

View File

@ -1,6 +1,6 @@
import os, sets, string
import color, method
from lex3 import Lexer
from lex import Lexer
from point import Point
DEBUG = False