• Robert Knight's avatar
    Preserve selection when applying block formatting · 692ea39a
    Robert Knight authored
    Previously all modified lines in a block were replaced in one
    call to replaceText() when applying block formatting, which
    lost the selection.
    
    This rewrites the command to transform each line separately
    which preserves the selection.
    692ea39a
markdown-commands-test.js 3.92 KB