#author("2021-06-23T12:03:45+09:00","","") [[SoftwareEngineering]] * サクラエディタ [#w9efbc6c] #contents ** マクロ集 [#u772cc84] *** 行頭に文字列を挿入する.js [#v55f0b49] #highlightjs([javascript]) var text = Editor.InputBox("行頭に挿入する文字列を指定してください"); if (text != "") { Editor.ReplaceAll("^", text, 132); Editor.ReDraw(); } *** 行末に文字列を挿入する.js [#l288ff5b] #highlightjs([javascript]) var text = Editor.InputBox("行末に挿入する文字列を指定してください"); if (text != "") { Editor.ReplaceAll("$", text, 132); Editor.ReDraw(); }