I've located where syntax highlighter finds comments and I'm trying to make it so that the comments can be in wiki format and the processor will read the wikiformatting so the comments will appear as links. The problem I'm getting is that in the pygments file itself, there is no self.env, and I'm trying to locate it.
On Tue, Jun 8, 2010 at 2:08 PM, Noah Kantrowitz <[email protected]> wrote: > That is added by the ComponentManger code during plugin load. You might get > a more useful response if you explain what you are actually trying to do > though. > > --Noah > > > -----Original Message----- > > From: [email protected] [mailto:[email protected]] > > On Behalf Of David > > Sent: Tuesday, June 08, 2010 12:52 PM > > To: Trac Users > > Subject: [Trac] Self.env > > > > Hello! > > > > I'm tweeking with the trac code for my own needs and I need to know > > where self.env comes from. I have a function that needs trac's > > environment, but I can't find out what the env actually is using > > python. > > > > Is there a special import or Extensionpoint I need to perform? > > > > Thanks! > > David > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Trac Users" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to trac- > > [email protected]<users%[email protected]> > . > > For more options, visit this group at > > http://groups.google.com/group/trac-users?hl=en. > > > -- > You received this message because you are subscribed to the Google Groups > "Trac Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<trac-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/trac-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Trac Users" 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/trac-users?hl=en.
