kjk/edna

Functions and cross-block selection

Opened this issue · 0 comments

kjk commented

A selection can cross blocks.

The text simply contains the block markers so when running functions, especially when replacing the selection, it's probably not wise to operate on that selection.

Simple and safe is probably to limit the selection to first block. I'm sure it'll cause confusion but we can document that.

Also we might add a way to over-ride that and send the whole selection.