summaryrefslogtreecommitdiff
path: root/help3/xhpeditor/snippets.js
diff options
context:
space:
mode:
Diffstat (limited to 'help3/xhpeditor/snippets.js')
-rw-r--r--help3/xhpeditor/snippets.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/help3/xhpeditor/snippets.js b/help3/xhpeditor/snippets.js
index 207e493c..fd1564b8 100644
--- a/help3/xhpeditor/snippets.js
+++ b/help3/xhpeditor/snippets.js
@@ -19,7 +19,7 @@ function startNewXHPDoc() {
}
}
function docHeading() {
- var a1 = '<section id="CHANGE ME">\n <bookmark id="' + random('bm') + '" branch="hid/CHANGE ME" localize="false"/>\n';
+ var a1 = '<section id="CHANGE ME">\n <bookmark id="' + random('bm') + '" branch="hid/CHANGE ME" localize="false"/>\n';
var a2 = ' <h1 id="' + random('hd') + '"><link href="HELP FILE URL">CHANGE ME</link></h1>\n';
var a3 = ' <paragraph id="' + random('par') + '" role="paragraph"><variable id="CHANGE ME"><ahelp hid="CHANGE ME">CHANGE ME</ahelp></variable></paragraph>\n\n</section>\n';
editor.replaceRange(a1 + a2 + a3 , editor.doc.getCursor());
@@ -134,12 +134,12 @@ function bookmarkBranch() {
}
function bookmarkNoWidget() {
- var a1 = '<bookmark branch="hid/CHANGE ME(/path/to/dialog)/@@nowidget@@" id="' + random('bm') + '" localize="false"/>\n';
+ var a1 = '<bookmark branch="hid/CHANGE ME(/path/to/dialog)/@@nowidget@@" id="' + random('bm') + '" localize="false"/>\n';
editor.replaceRange(a1, editor.doc.getCursor());
}
function bookmarkIndex() {
- var a1 = '<bookmark branch="index" id="' + random('bm') + '">\n<bookmark_value>CHANGE ME;CHANGE ME TOO</bookmark_value>\n\n</bookmark>\n';
+ var a1 = '<bookmark branch="index" id="' + random('bm') + '">\n<bookmark_value>CHANGE ME;CHANGE ME TOO</bookmark_value>\n\n</bookmark>\n';
editor.replaceRange(a1, editor.doc.getCursor());
}
@@ -181,7 +181,7 @@ function switchXHP(type) {
function switchInline(type) {
var type_string = (type=='sys') ? "MAC | UNIX | WIN" : "WRITER | CALC | IMPRESS | DRAW | BASE | MATH";
var a1 = '<switchinline select="' + type + '">';
- var a2 = '<caseinline select="' + type_string +'">CHANGE ME</caseinline>';
+ var a2 = '<caseinline select="' + type_string +'">CHANGE ME</caseinline>';
var a3 = '<defaultinline>DEFAULT STUFF</defaultinline></switchinline>';
editor.replaceRange(a1 + a2 + a3, editor.doc.getCursor());
}