I posted this to the general TW forum 
<https://groups.google.com/d/msg/TiddlyWiki/89gKQpuV6k0/nQyjDQbCBgAJ>, but 
no one has responded...


A tm-edit-text-operation is supposed to preform an operation on selected 
text but it doesn't seem to do as the documentation lists.

https://tiddlywiki.com/#WidgetMessage%3A%20tm-edit-text-operation

If selected text is bolded, the '' is added as a prefix and as a suffix. If 
the same text is already bolded and the operation is run again, the '' is 
removed. See the rules in $:/core/ui/EditorToolbar/list-bullet.

This doesn't seem to happen for the prefix-lines operation.

For example, select several lines of text and press the unordered list 
button. A * will be added as a prefix according to the rules in 
$:/core/ui/EditorToolbar/list-bullet. If the same text is selected and the 
unordered list button is pressed again, the * is not removed. In fact, 
nothing happens. The documentation states that the prefix should be removed 
from the selected lines.

Is this a bug in the code of the current TW?

The problem seems to be in 
$:/core/modules/editor/operations/text/prefix-lines.js

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/f7f9961a-1f99-4dd5-8307-470a7f61ca93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to