0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 14:12:40 +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) {
cm.setCursor(cm.getCursor('from'));
}
cm.replaceSelection(injectText, 'around');
cm.replaceSelection(injectText, 'end');
},
makeUnderline : function() {