Hi everyone,

I am trying to get to grips with formatters, but I guess I am just
wandering in the dark.

The formatter I constructed works well ...unless I add ANY other
afterwards:
http://hashtags.tiddlyspace.com/#HashTagsPlugin

...see formatter below comment:
//formatter for #tag

...and also:
//formatter for ::category:tag::

Any formatter inserted after either fails, as you can see here...
http://hashtags.tiddlyspace.com/#ThumbsUp

For some reason <Wikifier.prototype.subWikifyTerm> fails with these
formatters.

There is something to either one of them which is provoking this
behaviour also previously reported here:
http://groups.google.com/group/tiddlywikidev/browse_thread/thread/cd2c718ecb8771f2

Formatters inserted by other plugins fail as well when inserted into
the formatters array after mine got inserted.

It get's even weirder if I add yet another formatter behind it...
http://dl.dropbox.com/u/2040050/group/2012.03.30FormatterMadness.html#ThumbsUp

By the way, chrome reports this error instead:
TypeError: Cannot call method 'handler' of undefined

Any help greatly appreciated.

Tobias.

----

Some background: The first formatter is supposed to identify a
#hashtag inline while the other is supposed to
identify ::this:pattern:: and do something with <this> and
<pattern> ...which will eventually also require to insert it at the
beginning of the formatters array for it to work, as :: is reserved
for definition lists at the beginning of a line... which it shouldn't
be, but that's another topic. The idea for the latter is explained
here:
http://hashtags.tiddlyspace.com/#%5B%5BInline%20Tags%5D%5D

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/tiddlywikidev?hl=en.

Reply via email to