Don't increment both start and end points if they are the same object (e.g. no selection)
Don't increment both start and end points if they are the same object (e.g. no selection)

sparksuite/simplemde-markdown-editor,vladson/simplemde-markdown-editor,vijos/vj-simplemde,Baekjoon/simplemde-markdown-editor,pronebel/simplemde-markdown-editor,cesarmarinhorj/simplemde-markdown-editor