On Mon, 20 May 2013 14:33:49 -0500
Terry Brown <
terry_...@yahoo.com> wrote:
> The search function is proving a lot harder than the Leo outline based
> introspector, which only descends into nodes when you explicitly ask it
> to.
Hmm, here's the latest output:
for insertIconFromFile
c.editCommands.insertIconFromFile
ok, great... for getSelectedText
c.miniBufferWidget.getSelectedText
c.abbrevCommands.w.getSelectedText
c.bufferCommands.w.getSelectedText
c.chapterCommands.w.getSelectedText
c.controlCommands.w.getSelectedText
c.debugCommands.w.getSelectedText
c.editCommands.w.getSelectedText
c.editFileCommands.w.getSelectedText
c.frame.body.getSelectedText
c.frame.log.getSelectedText
c.frame.miniBufferWidget.getSelectedText
c.gui.bodyTextWidget.getSelectedText
c.helpCommands.w.getSelectedText
c.k.w.getSelectedText
c.keyHandlerCommands.w.getSelectedText
c.killBufferCommands.w.getSelectedText
c.leoCommands.w.getSelectedText
c.macroCommands.w.getSelectedText
c.miniBufferWidget.__class__.getSelectedText
c.rectangleCommands.w.getSelectedText
c.registerCommands.w.getSelectedText
c.searchCommands.w.getSelectedText
c.spellCommands.w.getSelectedText
but this takes a really long time, I need to work out what's the
bottleneck. It searches breadth first, and searches to the depth n+1
where n is the depth at which it finds the first hit.
Of course those searches were started at 'c' - perhaps you need to
start a little more specifically, but there are 551 ivars on c... so
that's not that easy. Ahem, including
universalCallback instancemethod
universallCallback instancemethod
Cheers -Terry