There is an update to Streams (0.1.14) that brings a fair few small 
features and changes, and *needs some testing* and feedback.
Please backup your wiki before updating and test carefully before using 
with important data.

New configuration options that toggle settings depending on whether they 
are set to yes or no:


   - *$:/config/sq/streams/split-at-caret* split the text of a node at the 
   caret position when saving the node with <kbd>Enter</kbd>. This is existing 
   behaviour that can now be toggled.
   - *$:/config/sq/streams/prompt-split-to-multiple* prompt for 
   confirmation when splitting a node to multiple nodes, triggered 
   by <kbd>Alt+Enter</kbd>. New feature.
   - *$:/config/sq/streams/prompt-merge-with-previous* prompt the user 
   before attempting to merge a node with the previous node, triggered 
   by <kbd>Backspace</kbd> with the caret position at the beginning of the 
   text. New feature.
   - *$:/config/sq/streams/exit-on-saving-empty-node *Exit edit mode on 
   saving an empty node with <kbd>Enter</kbd>. Allows exiting edit mode on 
   mobile. New feature.
   
With split-at-caret set to "yes", saving a node with Enter with the caret 
at the start of the text will create a new node above the current node. 

Backspace with the caret at the start of a node will attempt to merge with 
the previous node, provided it is at the same indent level and has no child 
nodes. This is an intentionally simplified and constrained behaviour 
intended as an undo to the above split option. By default the user is 
prompted for confirmation before merging, this can be disabled by setting 
prompt-merge-with-previous to "no"

By default, saving a node with Alt+Enter will ask for confirmation before 
splitting the text into multiple nodes. The prompt can be disabled by 
setting prompt-split-to-multiple to "no"

To allow exiting edit mode on mobile devices, set exit-on-saving-empty-node 
to "yes". This will exit edit mode when attempting to save an empty node 
with Enter. In other words, hit Enter twice to exit editing.

 https://saqimtiaz.github.io/sq-tw/streams.html

Cheers,
Saq

-- 
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 the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6057bfe5-a127-4d1c-8c56-25d13339bab8n%40googlegroups.com.

Reply via email to