[tw5] Re: How to highlight targetStrings within a macro with splitregex/join, i.e., treat the macro as a string?

2020-07-21 Thread 'steve' via TiddlyWiki
HI Eric: >From your latest email I've incorporated the number of times targetString was matched and the div for the showOutput. I've also echoed the input parameters to formatTid.highlightText and added a "pane" format for the target string. Thanks to your help it keeps getting better and

[tw5] Re: How to highlight targetStrings within a macro with splitregex/join, i.e., treat the macro as a string?

2020-07-21 Thread 'steve' via TiddlyWiki
Eric: I made some additional tweaks to your solution to: * narrow selection list to list of tiddlers that actually contain the targetString * provide a GO button so that macro does not have to run for every keystroke in the edit box * added a reveal so that macro is run only if a source

[tw5] Re: How to highlight targetStrings within a macro with splitregex/join, i.e., treat the macro as a string?

2020-07-20 Thread 'steve' via TiddlyWiki
Update: This time I tried a macro with a filter that used goFish in a filter. See below. Nothing was listed in the outputText. Tomorrow I'll look at the literal output text. \define goFish() !!! This example has five goFish !!! This goFish is in a macro. <$list

[tw5] Re: How to highlight targetStrings within a macro with splitregex/join, i.e., treat the macro as a string?

2020-07-20 Thread 'steve' via TiddlyWiki
Eric: Very tricky indeed but you made it look simple! It worked - yay! I am trying some more complex examples including embedded macro calls and will report back. Thanks! Steve On Monday, July 20, 2020 at 6:13:07 PM UTC-4, Eric Shulman wrote: > > On Monday, July 20, 2020 at 1:55:57 PM

[tw5] Re: How to highlight targetStrings within a macro with splitregex/join, i.e., treat the macro as a string?

2020-07-20 Thread 'steve' via TiddlyWiki
Hi Tony, Saq: More about my use case ... When I look at macro (code) in the editor it is very easy for me to overlook variable or macro names that I want to change and so I fail to update all of them. The purpose of the formatTid.highlightText macro is to create a highlighted copy of the

[tw5] How to highlight targetStrings within a macro with splitregex/join, i.e., treat the macro as a string?

2020-07-20 Thread 'steve' via TiddlyWiki
Hello: I am working on a macro to highlight target strings within the text field of a tiddler. The use case is to make it easier to for me see where the targetStrings are (if any). My question is how to highlight the targetString in the macro (ie. treating the macro as a string) as

[tw5] Re: where are the checkbox images used by the checkbox widget?

2020-02-27 Thread 'steve' via TiddlyWiki
Hi Eric I'll look into using instead of images in the toggle-in-field macro suggested by Mat from another thread about using checkboxes to add/delete items in a field. Thanks Steve W -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To

[tw5] where are the checkbox images used by the checkbox widget?

2020-02-27 Thread 'steve' via TiddlyWiki
Hi I looked in core (specifically in $:/core/images/) for the checkbox images used by the checkbox widget (see below) but could not find an image with checkbox in the title. Where should I be looking for these? Thanks Steve W -- You received this message because you are subscribed to the

[tw5] Re: request extension to checkbox widget to support adding/deleting multiple keywords per field

2020-02-26 Thread 'steve' via TiddlyWiki
bimlas: I'll take a look - Thanks Steve W -- 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

[tw5] Re: request extension to checkbox widget to support adding/deleting multiple keywords per field

2020-02-25 Thread 'steve' via TiddlyWiki
Hi Suggestion for a "list mode" for checkbox widget. * shows checkbox as checked if field contains the tag, unchecked otherwise; * appends tag to field when box is checked; * removes tag from field when box is unchecked; * does NOT default to text if field not provided; * filter field

[tw5] Re: request extension to checkbox widget to support adding/deleting multiple keywords per field

2020-02-25 Thread 'steve' via TiddlyWiki
Hi Again Mark S: I am treating the field as a list and using listops to add/remove keywords as you noted in your response. Also I posted a tiddler-level view (ie. edit view) above. Mat: The toggle-in-field capability you suggested appears to provide the functionality I was looking for as