> I've been using GotoPlugin but found that with our large number of
> tiddlers it tends to cause a delay when you type the first letter of a
> title while it lists almost every tiddler in the wiki. To get round
> this I tweaked the plugin so the list is hidden if the input value is
> under a configurable figure (default is 1)

That's a very reasonable behavior.  In fact, I already have such a
configurable setting for SearchOptionsPlugin: <<option
txtIncrementalSearchMin>>.  Thus, rather than creating a separate, but
equivalent, setting for GotoPlugin, I simply made it use of the
existing txtIncrementalSearchMin value, so that both
SeachOptionsPlugin and GotoPlugin will now wait for the same minimum
length of input before starting to match tiddlers (default=at least 3
characters).

Note: In SearchOptionsPlugin, if you want to start a search with less
than 3 characters, you just press ENTER.  Similarly, in GotoPlugin,
you can press the DOWN-ARROW key at any time to display the list of
matching titles, regardless of the length of the input.

Get the update (v1.8.0) here:
   http://www.TiddlyTools.com/#GotoPlugin
   http://www.TiddlyTools.com/#GotoPluginInfo

> On a separate note, how would one go about amending the plugin so it
> showed titles included in a wiki via the IncludePlugin?

GotoPlugin simply uses standard TW core functions to scan the list of
tiddlers.  IncludePlugin plays some sophisticated tricks by redefining
('hijacking') several key core access functions so that they can
locate the included tiddlers (which are kept in a separate internal
'tiddler store' object).

The intent of these hijacks is that other plugins (and core code as
well), should not have to perform any special-case handling at all,
and that all the work of making the included tiddlers available will
be done by the IncludePlugin itself.

Otherwise, it creates 'brittle' dependencies between the plugins,
which can lead to all sorts of subtle bugs and code maintenance issues
(especially when those plugins are written by different people).

I will look into the problem to determine if a solution is possible,
but don't hold your breath...

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" 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/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to