[tw5] Re: Building a filter from parts, unwanted spaces

2018-07-14 Thread @TiddlyTweeter
I'm not a JavaScript programmer but it's possible in TW to get quite raw with it to good effect sometimes. But it's mainly limited to the pre-parser you get that freedom. I really like and use a lot BJ's Flexity plugin that let's me use standard JS regular expressions in TW without the

[tw5] Re: Building a filter from parts, unwanted spaces

2018-07-14 Thread 'Mark S.' via TiddlyWiki
> > I think this is a bug I stumbled upon previously. Is java script free of > bugs? > Javascript gets pounded on by millions (billions?) of users every day. In the vein of "Gödel, Escher, Bach", there's bound to be some bugs in there. The question is, how long does it take before you

[tw5] Re: Building a filter from parts, unwanted spaces

2018-07-13 Thread TonyM
Mark, I think this is a bug I stumbled upon previously. Is java script free of bugs? As someone who is yet to learn java-script properly, it is the shortest path for me to use wikitext. But how would you reproduce the list filter structure of tiddlywiki in javascript, I expect it could be

[tw5] Re: Building a filter from parts, unwanted spaces

2018-07-13 Thread TonyM
Jed, Thanks for the suggestions, I have worked through the code and there are little or no opportunities for a break to sneak in to the code. But I will review it with fresh eyes, I will also see if I can make a macro that removes the spaces because I am not keen to add more complexity into

[tw5] Re: Building a filter from parts, unwanted spaces

2018-07-13 Thread 'Mark S.' via TiddlyWiki
Undocumented, secret-handshake structures is another reason why I would prefer to code in javascript. -- Mark On Friday, July 13, 2018 at 3:22:31 AM UTC-7, Jed Carty wrote: > > I think that normally comes from line breaks in your code that normally > shouldn't do anything. Something like > >

[tw5] Re: Building a filter from parts, unwanted spaces

2018-07-13 Thread Jed Carty
I think that normally comes from line breaks in your code that normally shouldn't do anything. Something like <$list filter=blah> <$reveal blah blah blah> something may give some extra whitespace that you can sometimes remove by doing this: <$list filter=blah><$reveal blah blah blah>