> Hi BTC, > > I'm not really sure, what you try to achieve here. ... I do have a guess. > ... And I think "you'r doing it wrong". > > I'm using the diff-match-patch widget to get the text with its new-lines >> and tabs as characters >> > > IMO diff-match-patch mechanism can do everything you did with complicated > macros (almost) out of the box. > > Can you describe, what you want to achieve. > > -mario >
Hi Mario, I'm playing around with splitting strings into single characters, then putting them back together. That's what I'm doing in the first place. I wouldn't need the diff-match-patch here, I just use it to get those special characters visualized Here I'm trying to replace single characters without changing the overall formatting and without looking into javascript I haven't looked into the capabilities of the diff-match-patch widget, though - can it do this out of the box? -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/19d198a3-85bf-4c86-a189-66bc069a51c4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.