Mark S. wrote:

> The reason it doesn't work with other kinds of text is because when you 
> drag and drop, the dropped text contains the original in HTML. Which means 
> it doesn't match any of the actual text inside the original tiddler. To fix 
> this, the HTML is wikified back to text, which can be compared to the 
> original text in the tiddler IF the text isn't formatted.


Do I understand this right: What is dragged is merely a copy of the seen 
text (the "view mode" text), i.e there is no mechanism going into the 
actual wikitext to copy it?

If this is the case... then, yeah, I understand if it can't be much 
improved... :-(

Not saying you should do it, but is it even technically possible to access 
the actual wikitext by selecting view mode text? To get away from a need 
for "pattern matching" (i.e finding the literal selected text also in the 
wikitext, which is what I interpret your current solution to use) maybe the 
wikitext could produce some kind of physical position indicator, like the 
line number, which can be accessed in view mode. So selecting a snip also 
conveys what original rows this rendered text stems from, and then these 
rows are instead what is drag'n dropped. 
- At all realistic?

<:-)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b645dacc-aac8-433a-8604-46e7f1f6b70dn%40googlegroups.com.

Reply via email to