[tw5] Re: TiddlyWiki editor stopped responding to keystrokes

2019-11-18 Thread Alan Finger
That blew it up completely. I was able to roll the entire directory back to 
before I started having trouble and that seemed to fix the problem.

Alan

On Sunday, November 17, 2019 at 10:21:45 PM UTC-5, TonyM wrote:
>
> Alan,
>
> Do you have any plugins that use the text area?. Install codemirror editor 
> and see if its still a problem. It does not use a simple text area.
>
> Tony
>
> On Sunday, November 17, 2019 at 7:36:01 AM UTC+11, Alan Finger wrote:
>>
>> Hi,
>>
>> I'm using TiddlyWiki5 on node js. The tiddler text editor has suddenly 
>> stopped accepting keystrokes. Markdown inserts work normally and all other 
>> fields can be typed into. This is consistent across several different 
>> browsers and computers. Any ideas how to troubleshoot?
>>
>> Thanks,
>> Alan
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f148c033-6f66-4240-a3dc-0c4b82f462ff%40googlegroups.com.


[tw5] Re: TiddlyWiki editor stopped responding to keystrokes

2019-11-17 Thread Alan Finger
It looks like the problem is specific to browsers using the Chrome engine. 
Fails with Chrome and Brave. Works ok with Firefox.

On Saturday, November 16, 2019 at 3:36:01 PM UTC-5, Alan Finger wrote:
>
> Hi,
>
> I'm using TiddlyWiki5 on node js. The tiddler text editor has suddenly 
> stopped accepting keystrokes. Markdown inserts work normally and all other 
> fields can be typed into. This is consistent across several different 
> browsers and computers. Any ideas how to troubleshoot?
>
> Thanks,
> Alan
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9e9e573f-537d-4bb9-b519-02d28e2edaae%40googlegroups.com.


[tw5] TiddlyWiki editor stopped responding to keystrokes

2019-11-16 Thread Alan Finger
Hi,

I'm using TiddlyWiki5 on node js. The tiddler text editor has suddenly 
stopped accepting keystrokes. Markdown inserts work normally and all other 
fields can be typed into. This is consistent across several different 
browsers and computers. Any ideas how to troubleshoot?

Thanks,
Alan

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/20cb9d3b-987b-43db-9ba0-15e29a8480ca%40googlegroups.com.


[tw] Re: Using Macro Substitution as a filter parameter

2015-02-25 Thread Alan Finger
Got it. How can I pass variable data to a Javascript macro, then?

Alan

On Wednesday, February 25, 2015 at 3:53:02 AM UTC-5, Astrid Elocson wrote:

 Hi Alan,

 Macro parameters are *not* parsed as WikiText until they are returned to 
 a WikiText context. They're just inert strings of characters. This means 
 your JavaScript is receiving strings that start with *{{* and end with 
 *}}*. Only once the macro call has returned will its result be parsed as 
 WikiText and the transclusions detected and acted upon.

 – æ


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using Macro Substitution as a filter parameter

2015-02-24 Thread Alan Finger
Hi Tobias,

I'm finally getting back to this.

Here's a simple Javascript macro that displays the value of three 
parameters and the results of a comparison to a constant:


/**
 * Created by afinger on 2/24/2015.
 */
/*
Macro to build search string from section and company parameters
*/

(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
use strict;
/*
Information about this macro
*/
exports.name = build_search_string;
exports.params = [
{name: section, default: Any},
{name: source, default: Any},
{name: text, default: }
];
/*
Run the macro
*/
exports.run = function(section, source, text) {

var foo= | + section +  |  + source +  |  + text +  |\n + | + 
(section == Any ) +   |  + (source == Any) +  |  + (text == ) +  
|\n
return foo
};
})();

Invoking it from a WikiText macro:

\define ShowResult()

build_search_string  {{$:/.af/SearchBy/params!!section_sel}}  
{{$:/.af/SearchBy/params!!source_sel}} 
{{$:/.af/SearchBy/params!!searchtext}} 


\end
{{$:/.af/SearchBy/form}}
ShowResult

It always shows the correct value but the comparison is always false.


If I replace the transclusions with constants, it works correctly. What's 
going on?

Alan




On Wednesday, January 28, 2015 at 7:02:16 PM UTC-5, Tobias Beer wrote:

 Looks like a good place to use a javascript macro...


 That may indeed be a viable way to achieve this...

 *#1427 allow text-references and variables anywhere in a filter expression*
 https://github.com/Jermolene/TiddlyWiki5/issues/1427

 @Jeremy, (how) can a js macro acces a variable number of parameters?

 Best wishes, Tobias.


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using Macro Substitution as a filter parameter

2015-01-28 Thread Alan Finger

I mean that the operator  section{$:/temp/findby!!section} should only be 
applied to the filter if the field value is not Any

I'll try to post an example in the next day or so. 

Alan

On Wednesday, January 28, 2015 at 2:43:44 AM UTC-5, Stephan Hradek wrote:



 Am Mittwoch, 28. Januar 2015 08:42:13 UTC+1 schrieb Stephan Hradek:

 Could you please post a fully (non-)working example? I have difficulties 
 in understanding what you're trying to do by just looking at an image. I'd 
 prefer to be able to play around a bit with real data and not try to make 
 up test data which I made up on my own and which need not match what you 
 had in mind.

 I'm especially extremely astonished about this part: 
 [title[$:/tmp/findby]!section[Any]] What do you think should this do? I 
 have no clue what the meaning should be. Especially because there is no 
 such filter like section.


 P.S. Maybe I know! that part means: Get the tiddler  titled 
 $:/tmp/findby but only if it's field section does not contain Any!?


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using Macro Substitution as a filter parameter

2015-01-28 Thread Alan Finger
That works well for one variable. The problem is that I have two: section 
and sourcedoc so I need to try to get concatenation working.

Alan

On Wednesday, January 28, 2015 at 9:02:17 AM UTC-5, Tobias Beer wrote:

 Thanks, Jed,

 That's a cool example

 If you know what the filters will be you can use the select widget to set 
 a field to the entire filter string and use a text reference for the 
 filters.


 Added here: filter from field @ filters 
 http://filters.tiddlyspot.com/#filter%20from%20field.

 Best wishes, Tobias.


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using Macro Substitution as a filter parameter

2015-01-27 Thread Alan Finger
Thanks for some good ideas! I may be missing it but is there a way to set 
the value of a field programmatically? The action-setfield widget only 
works inside a button.

On Tuesday, January 27, 2015 at 11:26:43 PM UTC-5, Jed Carty wrote:

 If you know what the filters will be you can use the select widget to set 
 a field to the entire filter string and use a text reference for the 
 filters.

 $select field='filter_field'
 option value='[!is[tag]!is[system]]'Some name/option
 option value='[!is[tag]!is[system]]'Another name/option
 /$select

 /$select

 $list filter={{!!filter_field}}

 /$list

 Where you add an option to the select widget for each filter string.

 If you need more flexibility you could have a sequence of selections that 
 build a string for the filter operators. Like the examples here, but each 
 selection would set a filter operator instead of part of a url 
 http://inmysocks.tiddlyspot.com/#Concatenating%20text%20to%20make%20dynamic%20URLs

 Does that help?


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using Macro Substitution as a filter parameter

2015-01-27 Thread Alan Finger
Hi Tobias,

I don't think that's going to work for me as I want to conditionally 
include entire filter operators in the filter. Depending the content of 
some fields (Any means no filter), i want to get

[!is[tag]!is[system]]
[!is[tag]!is[system][field1[value1]]
[!is[tag]!is[system]field1[value1]field2[value2]]
[!is[tag]!is[system][field2[value2]]

etc.

There will be at 4 combinations now but I may want to expand that later. 

Is there a more elegant way to approach this?

Alan






On Tuesday, January 27, 2015 at 9:17:49 PM UTC-5, Tobias Beer wrote:

 You (currently) need to use variables in filters like so...

 [field-foovariable-bar]

 not...

 [field-foo[variable-bar]]

 or...

 [field-foovariable-bar]

 For more on parameters and variables, see...

 http://pv5.tiddlyspot.com

 Best wishes, Tobias.


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Is it possible to get a list of unique values of a single field?

2015-01-23 Thread Alan Finger
Hi All,

I'd like to get a list of unique values of a field in a group of tiddlers 
so I can build a group of radio buttons to select one. Is there a way to do 
that?

Thanks,
Alan

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Search

2015-01-20 Thread Alan Finger
Hi Tobias,

Thanks, I think I got it working in my wiki.

Alan

On Sun, Jan 18, 2015 at 9:29 AM, Tobias Beer beertob...@gmail.com wrote:

 Hi Alan,

 I don't think I am seeing any problem.
 Be sure to use the latest version from tb5, though.

 Custom Search Tab Exact @ tb5
 http://tb5.tiddlyspot.com/#Custom%20Search%20Tab%20Exact

 Best wishes, Tobias.

 --
 You received this message because you are subscribed to a topic in the
 Google Groups TiddlyWiki group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/tiddlywiki/tHsXzzZ61NU/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 tiddlywiki+unsubscr...@googlegroups.com.
 To post to this group, send email to tiddlywiki@googlegroups.com.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Search

2015-01-17 Thread Alan Finger
Hi Tobias,

Thanks for the quick response. I did have the regex tiddler installed 
(guess I forgot to mention). I just tried your installation and am still 
seeing the same problem. Is there some way I can send you my test wiki?

Alan

On Saturday, January 17, 2015 at 4:08:35 AM UTC-5, Tobias Beer wrote:

 Hi Alan,

 Ah, now I see where the confusion is coming from.

 I've added an Installation section...
 Custom Search Tab Exact @ tb5 
 http://tb5.tiddlyspot.com/#Custom%20Search%20Tab%20Exact

 You were missing this tiddler...
 $:/.tb/ui/SearchResults/exact/regexp 
 http://tb5.tiddlyspot.com/#%24%3A%2F.tb%2Fui%2FSearchResults%2Fexact%2Fregexp

 Best wishes, Tobias.


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Search

2015-01-16 Thread Alan Finger
Hi Tobias,

Thanks for the assist. It's been a great introduction to TiddlyWiki 
programming as well!. One problem: Activating Advanced Search breaks it -- 
returning all regular tiddlers regardless of search term.

Something to work on over the weekend.

Regards,
Alan

On Wednesday, January 14, 2015 at 12:53:30 PM UTC-5, Tobias Beer wrote:

 Not sure how much it really helps...

 Custom Search Tab Exact @ tb5 
 http://tb5.tiddlyspot.com/#Custom%20Search%20Tab%20Exact

 Best wishes, Tobias.


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Search

2015-01-16 Thread Alan Finger
Hi Tobias,

To reproduce:
1. Create an Empty wiki and add your search tiddlers
2. Create some test tiddlers: at least two containing a two word search 
target and some containing one or neither of the words.
3. Do a standard search from the sidebar and verify exact search is 
operating correctly.
4. Click the button for exact search and note that the Exact list contains 
all standard tiddlers.
5. Type the search in the sidebar and it displays correctly.

I think the problem lies with the fact that they use different search term 
sources but ExactSearch gets invoked for both.

Thanks for the help!
Alan


On Friday, January 16, 2015 at 5:36:41 PM UTC-5, Tobias Beer wrote:

 Hi Alan,
  

 One problem: Activating Advanced Search breaks it 

 returning all regular tiddlers regardless of search term.


 I am not sure what breaks what.
 What precisely did you try?
 What failed, where and how?

 Best wishes, Tobias.



-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Search

2015-01-14 Thread Alan Finger
Hi from a Newbie,

I'm trying to understand how search works and how to harness it to my 
needs: It appears that when entering a multi-word string, search returns 
all tiddlers containing the words in any order. What I want it to see only 
the results with that exact string. This will be used by others so I can't 
ask them to enter complicated filter expressions.

Suggestions?

Thanks in advance,
Alan

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Search methodology

2015-01-14 Thread Alan Finger
Hi from a Newbie,

I'm trying to understand how search works and how to harness it to my 
needs: It appears that when entering a multi-word string, search returns 
all tiddlers containing any of the words. What I want it to see only the 
results with that exact string. This will be used by others so I can't ask 
them to enter complicated filter expressions.

Suggestions?

Thanks in advance,
Alan

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.