0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-07 14:12:43 +00:00

Change post-insertion selection option

This commit is contained in:
G.Ambatte
2022-09-27 17:06:48 +13:00
parent b44a7d3236
commit de86a77dfc

View File

@@ -234,7 +234,7 @@ const CodeEditor = createClass({
if(!overwrite) { if(!overwrite) {
cm.setCursor(cm.getCursor('from')); cm.setCursor(cm.getCursor('from'));
} }
cm.replaceSelection(injectText, 'around'); cm.replaceSelection(injectText, 'end');
}, },
makeUnderline : function() { makeUnderline : function() {