Perhaps I don't get it then, No need to respond if what I say is clearly barking up the wrong tree.
On Tuesday, 12 December 2017 22:10:49 UTC+11, PMario wrote: > > On Tuesday, December 12, 2017 at 12:40:53 AM UTC+1, TonyM wrote: >> >> If every tiddler (title) is cached internally for the link-widget >> detection could this also be used to highlight all text in a tiddler, on >> rendering a tiddler, that matches any existing tiddler title (or tag)?, >> > > Not really possible. There isn't enough info in the cache atm. It just > holds a links[] array. And the parse tree has no positional info. ... > What I thought was there was a List of All Tiddlers - a set of titles we could use to search a tiddler to be rendered with, for such titles that match the text create Virtual or Temporary links on any text in the tiddler that matches an Existing Tiddler name. The Links will be valid because they link to existing tiddlers, they just do not have the [[this is a tiddler name]] around them in the tiddler., ie we do not update the source tiddlers text field, only add the "virtual" links at render time. One could then scan the tiddler for relevant matches. > >> this would highlight somewhat relevant information in text and provide >> opportunities to make links to tiddlers where none currently exist. >> > At least manually > I don't understand this. [[doesn't exist]] is already possible now. ?!? > What I mean is lets say a tiddlers text contained the following "using Alphanumeric values in" - No links present, but the existence of a Tiddler named "Alphanumeric values" we would alter the rendering process to treat "Alphanumeric values" as [[Alphanumeric values]] > > >> If at the same time the rendering process would also highlight text that >> matches the last search string, >> > > not possible. ... You can't style text-nodes. You first need to find the > text -> convert it to eg: a span-node -> give the span a styling. ... > Perhaps you are right, I am out of my depth, noting ventured, nothing gained. > > > >> it would allow people searching for a word or phrase to open tiddlers and >> see all occurrences of the search string highlighted. >> > > If I need this behaviour, I use the browser built in search. > That is all I can do now, Search with Tiddlywiki, open all tiddlers that contain the text then copy the same search string into the Browser find > > >> It seems to me if we already spent money on an "expensive" calculation >> lets get more in return. >> > > Good idea, but time consuming. > If there were value in the idea, lets put it on the shelf, perhaps one day it will become easier with another development. I was looking for quick wins, if not lets not bother for now. > > >> Such an approach will support a number of requirements raised in the >> forum where we are struggling to find reasonable and inexpensive solutions. >> > > "inexpensive" is the key word here. > Yup > > have fun! > mario > \ > Thanks for your feedback Tony -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/acfc585c-8cb7-4582-8687-b2134087fbac%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

