Hi Edward,
I'm have the classes importing in phpScanner, and I'm trying to use
your isPurePHP() function. It looks like I have to override scan(),
but can't figure out how to call the parent. I was trying this:
def scan (self,s,parent):
g.trace(dir(self))
if self.isPurePHP(s):
self.language = "phpsection"
baseScannerClass.scan(self, s,parent)
and
def scan (self,s,parent):
g.trace(dir(self))
if self.isPurePHP(s):
self.language = "phpsection"
super(baseScannerClass, self).scan(self, s,parent)
and other variations. Any idea what I'm doing wrong?
TIA
Mike
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---