• Robert Knight's avatar
    Ensure cursor is positioned after block prefix when creating lists · 1f8ac8a9
    Robert Knight authored
    Improve behavior when the user clicks the toolbar buttons to create a
    list or quote and the cursor is positioned at the start of the line with
    no selection. In this case, after the command is applied, the cursor
    should be positioned ready for the user to start typing the quote or
    list.
    
    When the selection is empty and text is inserted at the cursor position,
    it is ambiguous whether the selection is 'before' or 'after' the
    replaced text. The fix here is to treat the selection as being 'before'
    the replaced text.
    
    Fixes #3091
    1f8ac8a9
Name
Last commit
Last update
h Loading commit data...
scripts Loading commit data...
.hound.yml Loading commit data...
.jscsrc Loading commit data...
.jshintignore Loading commit data...
.jshintrc Loading commit data...
gulpfile.js Loading commit data...
package.json Loading commit data...