Consistency on the Scinotes name 36/9036/2
Sylvestre Ledru [Tue, 18 Sep 2012 08:08:55 +0000 (10:08 +0200)]
Change-Id: Ic99e5ed1caf790a9960e7d435d0ca2645713f5c0

scilab/modules/scinotes/etc/XConfiguration-scinotes.xml
scilab/modules/scinotes/etc/XConfiguration-scinotes.xsl
scilab/modules/scinotes/etc/scinotesGUIConfiguration.xml
scilab/modules/scinotes/help/en_US/scinotes.xml
scilab/modules/scinotes/help/ja_JP/scinotes.xml

index f879ac6..d3a91b2 100644 (file)
@@ -1,27 +1,27 @@
 <?xml version="1.0" encoding="utf-8"?>
-<scinotes title="SciNotes">
-  <body>
-    <scinotes-preferences restart-reopen="true" add-line-termination="true" number-of-recently-open="5" encoding="utf-8" eol="" scinotes="true" cmd="" macro="" external-cmd="true"/>
-  </body>
-  <display title="_(Display)">
+<scinotes title="Scinotes">
     <body>
-      <scinotes-display highlight-current-line="false" current-line-color="#FACADE" show-line-numbers="true" wrap-lines="true" keywords-colorization="true" highlight-brackets="true" brackets-color="#E40087" brackets-highlightment="Framed" brackets-onmouseover="true" highlight-keywords="true" keywords-color="#FFF3D2" keywords-highlightment="Filled" keywords-onmouseover="true" whereami="false" tab-size="4" tab-representation="chevrons" use-spaces="true" indent-size="4" automatic-indent="true" auto-complete-openers="true" auto-complete-keywords="true"/>
+        <scinotes-preferences restart-reopen="true" add-line-termination="true" number-of-recently-open="5" encoding="utf-8" eol="" scinotes="true" cmd="" macro="" external-cmd="true"/>
     </body>
-  </display>
-  <header title="_(Header)">
-    <body>
-      <scinotes-header enable="false"><![CDATA[// Copyright (C) {$current-year} - Corporation - Author
+    <display title="_(Display)">
+        <body>
+            <scinotes-display highlight-current-line="false" current-line-color="#FACADE" show-line-numbers="true" wrap-lines="true" keywords-colorization="true" highlight-brackets="true" brackets-color="#E40087" brackets-highlightment="Framed" brackets-onmouseover="true" highlight-keywords="true" keywords-color="#FFF3D2" keywords-highlightment="Filled" keywords-onmouseover="true" whereami="false" tab-size="4" tab-representation="chevrons" use-spaces="true" indent-size="4" automatic-indent="true" auto-complete-openers="true" auto-complete-keywords="true"/>
+        </body>
+    </display>
+    <header title="_(Header)">
+        <body>
+            <scinotes-header enable="false"><![CDATA[// Copyright (C) {$current-year} - Corporation - Author
 //
 // About your license if you have any
 //
 // Date of creation: {$current-date}
 //
 ]]></scinotes-header>
-    </body>
-  </header>
-  <autosave title="_(Autosave)">
-    <body>
-      <scinotes-autosave enable="true" save-every="5" automatic-delete="true" append-filename="true" append-with="~" replace-with="tmp" source-flag="true" single-directory=""/>
-    </body>
-  </autosave>
+        </body>
+    </header>
+    <autosave title="_(Autosave)">
+        <body>
+            <scinotes-autosave enable="true" save-every="5" automatic-delete="true" append-filename="true" append-with="~" replace-with="tmp" source-flag="true" single-directory=""/>
+        </body>
+    </autosave>
 </scinotes>
index 90de849..3cfd627 100644 (file)
-<?xml version='1.0' encoding='utf-8'?>\r
+<?xml version='1.0' encoding='utf-8'?>
+
 <xsl:stylesheet version ="1.0"\r
-                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">\r
-\r
-  <xsl:template match="scinotes-preferences">\r
-    <Title text="_(Editor)">\r
-      <VBox>\r
-        <HBox>\r
-          <Checkbox checked="{@scinotes}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Use SciNotes)">\r
-            <actionPerformed choose="scinotes">\r
-              <xsl:call-template name="context"/>\r
-            </actionPerformed>\r
-          </Checkbox>\r
-          <Glue/>\r
-        </HBox>\r
-        <xsl:variable name="enable">\r
-          <xsl:choose>\r
-            <xsl:when test="@scinotes='true'">\r
-              <xsl:text>false</xsl:text>\r
-            </xsl:when>\r
-            <xsl:otherwise>\r
-              <xsl:text>true</xsl:text>\r
-            </xsl:otherwise>\r
-          </xsl:choose>\r
-        </xsl:variable>\r
-        <Grid>\r
-          <Radiobutton value="{@external-cmd}" expected-value="true" listener="ActionListener" text="_(External editor: )" gridx="1" gridy="1" fill="none" weightx="0" anchor="west" enable="{$enable}">\r
-            <actionPerformed choose="external-cmd">\r
-              <xsl:call-template name="context"/>\r
-            </actionPerformed>\r
-          </Radiobutton>\r
-          <FileSelector gridx="2" gridy="1" weightx="1" anchor="above_baseline"\r
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+    
+    
+    
+    <xsl:template match="scinotes-preferences">
+        
+        <Title text="_(Editor)">
+            
+            <VBox>
+                
+                <HBox>
+                    
+                    <Checkbox checked="{@scinotes}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Use Scinotes)">
+                        
+                        <actionPerformed choose="scinotes">
+                            
+                            <xsl:call-template name="context"/>
+                            
+                        </actionPerformed>
+                        
+                    </Checkbox>
+                    
+                    <Glue/>
+                    
+                </HBox>
+                
+                <xsl:variable name="enable">
+                    
+                    <xsl:choose>
+                        
+                        <xsl:when test="@scinotes='true'">
+                            
+                            <xsl:text>false</xsl:text>
+                            
+                        </xsl:when>
+                        
+                        <xsl:otherwise>
+                            
+                            <xsl:text>true</xsl:text>
+                            
+                        </xsl:otherwise>
+                        
+                    </xsl:choose>
+                    
+                </xsl:variable>
+                
+                <Grid>
+                    
+                    <Radiobutton value="{@external-cmd}" expected-value="true" listener="ActionListener" text="_(External editor: )" gridx="1" gridy="1" fill="none" weightx="0" anchor="west" enable="{$enable}">
+                        
+                        <actionPerformed choose="external-cmd">
+                            
+                            <xsl:call-template name="context"/>
+                            
+                        </actionPerformed>
+                        
+                    </Radiobutton>
+                    
+                    <FileSelector gridx="2" gridy="1" weightx="1" anchor="above_baseline"\r
                         listener="EntryListener"\r
                         href="{@cmd}"\r
                         dir-selection="false"\r
-                        check-entry="false">\r
-            <xsl:attribute name="enable">\r
-              <xsl:if test="@scinotes='false' and @external-cmd='true'">\r
-                <xsl:text>true</xsl:text>\r
-              </xsl:if>\r
-            </xsl:attribute>\r
-            <entryChanged choose="cmd">\r
-              <xsl:call-template name="context"/>\r
-            </entryChanged>\r
-          </FileSelector>\r
-          <Label gridx="2" gridy="2" text="_((Don't forget to quote path containing white spaces))">\r
-            <xsl:attribute name="enable">\r
-              <xsl:if test="@scinotes='false' and @external-cmd='true'">\r
-                <xsl:text>true</xsl:text>\r
-              </xsl:if>\r
-            </xsl:attribute>\r
-          </Label>\r
-          <Panel height="5" gridx="1" gridy="3">\r
-            <VSpace height="5"/>\r
-          </Panel>\r
-          <Radiobutton value="{@external-cmd}" expected-value="false" listener="ActionListener" text="_(Scilab command: )" gridx="1" gridy="4" fill="none" weightx="0" anchor="west" enable="{$enable}">\r
-            <actionPerformed choose="external-cmd">\r
-              <xsl:call-template name="context"/>\r
-            </actionPerformed>\r
-          </Radiobutton>\r
-          <Entry gridx="2" gridy="4" weightx="1" anchor="above_baseline"\r
+                        check-entry="false">
+                        
+                        <xsl:attribute name="enable">
+                            
+                            <xsl:if test="@scinotes='false' and @external-cmd='true'">
+                                
+                                <xsl:text>true</xsl:text>
+                                
+                            </xsl:if>
+                            
+                        </xsl:attribute>
+                        
+                        <entryChanged choose="cmd">
+                            
+                            <xsl:call-template name="context"/>
+                            
+                        </entryChanged>
+                        
+                    </FileSelector>
+                    
+                    <Label gridx="2" gridy="2" text="_((Don't forget to quote path containing white spaces))">
+                        
+                        <xsl:attribute name="enable">
+                            
+                            <xsl:if test="@scinotes='false' and @external-cmd='true'">
+                                
+                                <xsl:text>true</xsl:text>
+                                
+                            </xsl:if>
+                            
+                        </xsl:attribute>
+                        
+                    </Label>
+                    
+                    <Panel height="5" gridx="1" gridy="3">
+                        
+                        <VSpace height="5"/>
+                        
+                    </Panel>
+                    
+                    <Radiobutton value="{@external-cmd}" expected-value="false" listener="ActionListener" text="_(Scilab command: )" gridx="1" gridy="4" fill="none" weightx="0" anchor="west" enable="{$enable}">
+                        
+                        <actionPerformed choose="external-cmd">
+                            
+                            <xsl:call-template name="context"/>
+                            
+                        </actionPerformed>
+                        
+                    </Radiobutton>
+                    
+                    <Entry gridx="2" gridy="4" weightx="1" anchor="above_baseline"\r
                  listener="EntryListener"\r
-                 text="{@macro}">\r
-            <xsl:attribute name="enable">\r
-              <xsl:if test="@scinotes='false' and @external-cmd='false'">\r
-                <xsl:text>true</xsl:text>\r
-              </xsl:if>\r
-            </xsl:attribute>\r
-            <entryChanged choose="macro">\r
-              <xsl:call-template name="context"/>\r
-            </entryChanged>\r
-          </Entry>\r
-        </Grid>\r
-      </VBox>\r
-    </Title>\r
-    <VSpace height="10"/>\r
-    <Title text="_(SciNotes General settings)">\r
-      <Grid>\r
-        <Panel gridx="1" gridy="1" gridwidth="3">\r
-          <xsl:call-template name="BooleanCheckBox">\r
-            <xsl:with-param name="attr-name" select="'restart-reopen'"/>\r
-            <xsl:with-param name="text" select="'_(Restore previous session on start-up)'"/>\r
-          </xsl:call-template>\r
-        </Panel>\r
-        <Panel gridx="1" gridy="2" gridwidth="3">\r
-          <xsl:call-template name="BooleanCheckBox">\r
-            <xsl:with-param name="attr-name" select="'add-line-termination'"/>\r
-            <xsl:with-param name="text" select="'_(Add carriage return at the end of the file.)'"/>\r
-          </xsl:call-template>\r
-        </Panel>\r
-        <Label gridx="1" gridy="3" weightx="0" text="_(Number of recently opened files to display: )"/>\r
-        <Panel gridx="2" gridy="3" gridheight="2" fill="both"/>\r
-        <NumericalSpinner gridx="3"\r
+                 text="{@macro}">
+                        
+                        <xsl:attribute name="enable">
+                            
+                            <xsl:if test="@scinotes='false' and @external-cmd='false'">
+                                
+                                <xsl:text>true</xsl:text>
+                                
+                            </xsl:if>
+                            
+                        </xsl:attribute>
+                        
+                        <entryChanged choose="macro">
+                            
+                            <xsl:call-template name="context"/>
+                            
+                        </entryChanged>
+                        
+                    </Entry>
+                    
+                </Grid>
+                
+            </VBox>
+            
+        </Title>
+        
+        <VSpace height="10"/>
+        
+        <Title text="_(Scinotes General settings)">
+            
+            <Grid>
+                
+                <Panel gridx="1" gridy="1" gridwidth="3">
+                    
+                    <xsl:call-template name="BooleanCheckBox">
+                        
+                        <xsl:with-param name="attr-name" select="'restart-reopen'"/>
+                        
+                        <xsl:with-param name="text" select="'_(Restore previous session on start-up)'"/>
+                        
+                    </xsl:call-template>
+                    
+                </Panel>
+                
+                <Panel gridx="1" gridy="2" gridwidth="3">
+                    
+                    <xsl:call-template name="BooleanCheckBox">
+                        
+                        <xsl:with-param name="attr-name" select="'add-line-termination'"/>
+                        
+                        <xsl:with-param name="text" select="'_(Add carriage return at the end of the file.)'"/>
+                        
+                    </xsl:call-template>
+                    
+                </Panel>
+                
+                <Label gridx="1" gridy="3" weightx="0" text="_(Number of recently opened files to display: )"/>
+                
+                <Panel gridx="2" gridy="3" gridheight="2" fill="both"/>
+                
+                <NumericalSpinner gridx="3"\r
                           gridy="3"\r
                           weightx="0"\r
                           min-value = "0"\r
                           increment = "1"\r
                           length = "4"\r
                           listener = "ActionListener"\r
-                          value = "{@number-of-recently-open}">\r
-          <actionPerformed choose="number-of-recently-open">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-        </NumericalSpinner>\r
-        <Label gridx="1" gridy="4" weightx="0" text="_(Default file encoding: )"/>\r
-        <Panel gridx="3" gridy="4">\r
-          <xsl:call-template name="Select">\r
-            <xsl:with-param name="among">\r
-              <option encoding="utf-8"/>\r
-              <option encoding="iso-8859-1"/>\r
-              <option encoding="windows-1252"/>\r
-            </xsl:with-param>\r
-          </xsl:call-template>\r
-        </Panel>\r
-        <Label gridx="1" gridy="5" weightx="0" text="_(Default End-Of-Line: )"/>\r
-        <Select gridx="3" gridy="5" listener="ActionListener">\r
-          <actionPerformed choose="eol">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-          <xsl:variable name="eol">\r
-            <xsl:choose>\r
-              <xsl:when test="@eol=''">\r
-                <xsl:choose>\r
-                  <xsl:when test="$OS='Windows'">\r
-                    <xsl:text>Windows (CR+LF)</xsl:text>\r
-                  </xsl:when>\r
-                  <xsl:when test="$OS='Mac'">\r
-                    <xsl:text>Mac OS (CR)</xsl:text>\r
-                  </xsl:when>\r
-                  <xsl:otherwise>\r
-                    <xsl:text>Unix (LF)</xsl:text>\r
-                  </xsl:otherwise>\r
-                </xsl:choose>\r
-              </xsl:when>\r
-              <xsl:otherwise>\r
-                <xsl:value-of select="@eol"/>\r
-              </xsl:otherwise>\r
-            </xsl:choose>\r
-          </xsl:variable>\r
-          <option value="Unix (LF)">\r
-            <xsl:if test="$eol='Unix (LF)'">\r
-              <xsl:attribute name="selected">selected</xsl:attribute>\r
-            </xsl:if>\r
-          </option>\r
-          <option value="Windows (CR+LF)">\r
-            <xsl:if test="$eol='Windows (CR+LF)'">\r
-              <xsl:attribute name="selected">selected</xsl:attribute>\r
-            </xsl:if>\r
-          </option>\r
-          <option value="Mac OS (CR)">\r
-            <xsl:if test="$eol='Mac OS (CR)'">\r
-              <xsl:attribute name="selected">selected</xsl:attribute>\r
-            </xsl:if>\r
-          </option>\r
-        </Select>\r
-      </Grid>\r
-    </Title>\r
-  </xsl:template>\r
-\r
-  <xsl:template match="scinotes-display">\r
-    <Title text="_(General display options)">\r
-      <Grid>\r
-        <Checkbox checked="{@highlight-current-line}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Highlight current line: )" gridx="1" gridy="1" fill="none" weightx="0" anchor="west">\r
-          <actionPerformed choose="highlight-current-line">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-        </Checkbox>\r
-        <Panel gridx="2" gridy="1" weightx="1"/>\r
-        <Panel gridx="3" gridy="1" weightx="1"/>\r
-        <Color color="{@current-line-color}" listener="ActionListener" gridx="4" gridy="1" weightx="0" enable="{@highlight-current-line}">\r
-          <actionPerformed choose="current-line-color">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-        </Color>\r
-        <Checkbox checked="{@show-line-numbers}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Show line numbers: )" gridx="1" gridy="2" fill="none" weightx="0" anchor="west">\r
-          <actionPerformed choose="show-line-numbers">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-        </Checkbox>\r
-        <Radiobutton value="{@whereami}" expected-value="true" listener="ActionListener" text="_(Whereami compatible)" gridx="2" gridy="2" fill="none" weightx="0" anchor="west" enable="{@show-line-numbers}">\r
-          <actionPerformed choose="whereami">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-        </Radiobutton>\r
-        <Radiobutton value="{@whereami}" expected-value="false" listener="ActionListener" text="_(Normal)" gridx="3" gridy="2" gridwidth="2" fill="none" weightx="0" anchor="west" enable="{@show-line-numbers}">\r
-          <actionPerformed choose="whereami">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-        </Radiobutton>\r
-        <Checkbox checked="{@wrap-lines}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Wrap lines)" gridx="1" gridy="3" fill="none" weightx="0" anchor="west">\r
-          <actionPerformed choose="wrap-lines">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-        </Checkbox>\r
-      </Grid>\r
-    </Title>\r
-    <VSpace height="10"/>\r
-    <Title text="_(Keywords)">\r
-      <Grid>\r
-        <Checkbox checked="{@keywords-colorization}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Enable keywords colorization)" gridx="1" gridy="1" fill="none" weightx="0" anchor="west">\r
-          <actionPerformed choose="keywords-colorization">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-        </Checkbox>\r
-        <Panel gridx="2" gridy="1" weightx="1"/>\r
-        <Link gridx="3" gridy="1" weightx="0" listener="MouseListener" text="_(Set syntax Colors)" enable="{@keywords-colorization}">\r
-          <mouseClicked set="path" value="scinotes/header" context="/" enable="{@keywords-colorization}"/>\r
-        </Link>\r
-        <Checkbox checked="{@highlight-brackets}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Highlight corresponding brackets)" gridx="1" gridy="2" fill="none" weightx="0" anchor="west">\r
-          <actionPerformed choose="highlight-brackets">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-        </Checkbox>\r
-        <Grid gridx="1" gridy="3" gridwidth="3" ipadx="10">\r
-          <Label gridx="1" gridy="1" weightx="0" text="_(Color: )" enable="{@highlight-brackets}"/>\r
-          <Color color="{@brackets-color}" listener="ActionListener" gridx="2" gridy="1" weightx="0" enable="{@highlight-brackets}">\r
-            <actionPerformed choose="brackets-color">\r
-              <xsl:call-template name="context"/>\r
-            </actionPerformed>\r
-          </Color>\r
-          <Panel gridx="3" gridy="1" weightx="1"/>\r
-          <Checkbox checked="{@brackets-onmouseover}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Highlight on mouse over)" gridx="4" gridy="1" fill="none" weightx="0" anchor="west" enable="{@highlight-brackets}">\r
-            <actionPerformed choose="brackets-onmouseover">\r
-              <xsl:call-template name="context"/>\r
-            </actionPerformed>\r
-          </Checkbox>\r
-          <Panel gridx="5" gridy="1" weightx="1"/>\r
-          <Label gridx="6" gridy="1" weightx="0" text="_(Style: )" enable="{@highlight-brackets}"/>\r
-          <Select gridx="7" gridy="1" listener="ActionListener" enable="{@highlight-brackets}">\r
-            <actionPerformed choose="brackets-highlightment">\r
-              <xsl:call-template name="context"/>\r
-            </actionPerformed>\r
-            <option value="_(Filled)" key="Filled"/>\r
-            <option value="_(Framed)" key="Framed"/>\r
-            <option value="_(Underlined)" key="Underlined"/>\r
-          </Select>\r
-        </Grid>\r
-        <Checkbox checked="{@highlight-keywords}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Highlight corresponding keywords (e.g. if ... end))" gridx="1" gridy="4" fill="none" weightx="0" anchor="west">\r
-          <actionPerformed choose="highlight-keywords">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-        </Checkbox>\r
-        <Grid gridx="1" gridy="5" gridwidth="3" ipadx="10">\r
-          <Label gridx="1" gridy="1" weightx="0" text="_(Color: )" enable="{@highlight-keywords}"/>\r
-          <Color color="{@keywords-color}" listener="ActionListener" gridx="2" gridy="1" weightx="0" enable="{@highlight-keywords}">\r
-            <actionPerformed choose="keywords-color">\r
-              <xsl:call-template name="context"/>\r
-            </actionPerformed>\r
-          </Color>\r
-          <Panel gridx="3" gridy="1" weightx="1"/>\r
-          <Checkbox checked="{@keywords-onmouseover}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Highlight on mouse over)" gridx="4" gridy="1" fill="none" weightx="0" anchor="west" enable="{@highlight-keywords}">\r
-            <actionPerformed choose="keywords-onmouseover">\r
-              <xsl:call-template name="context"/>\r
-            </actionPerformed>\r
-          </Checkbox>\r
-          <Panel gridx="5" gridy="1" weightx="1"/>\r
-          <Label gridx="6" gridy="1" weightx="0" text="_(Style: )" enable="{@highlight-keywords}"/>\r
-          <Select gridx="7" gridy="1" listener="ActionListener" enable="{@highlight-keywords}">\r
-            <actionPerformed choose="keywords-highlightment">\r
-              <xsl:call-template name="context"/>\r
-            </actionPerformed>\r
-            <option value="_(Filled)" key="Filled"/>\r
-            <option value="_(Framed)" key="Framed"/>\r
-          </Select>\r
-        </Grid>\r
-      </Grid>\r
-    </Title>\r
-    <VSpace height="10"/>\r
-    <Title text="_(Tabulation and Indentation)">\r
-      <Grid>\r
-        <Label text="_(Tabulation size: )" gridx="1" gridy="1" weightx="0"/>\r
-        <NumericalSpinner gridx="2"\r
+                          value = "{@number-of-recently-open}">
+                    
+                    <actionPerformed choose="number-of-recently-open">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                </NumericalSpinner>
+                
+                <Label gridx="1" gridy="4" weightx="0" text="_(Default file encoding: )"/>
+                
+                <Panel gridx="3" gridy="4">
+                    
+                    <xsl:call-template name="Select">
+                        
+                        <xsl:with-param name="among">
+                            
+                            <option encoding="utf-8"/>
+                            
+                            <option encoding="iso-8859-1"/>
+                            
+                            <option encoding="windows-1252"/>
+                            
+                        </xsl:with-param>
+                        
+                    </xsl:call-template>
+                    
+                </Panel>
+                
+                <Label gridx="1" gridy="5" weightx="0" text="_(Default End-Of-Line: )"/>
+                
+                <Select gridx="3" gridy="5" listener="ActionListener">
+                    
+                    <actionPerformed choose="eol">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                    <xsl:variable name="eol">
+                        
+                        <xsl:choose>
+                            
+                            <xsl:when test="@eol=''">
+                                
+                                <xsl:choose>
+                                    
+                                    <xsl:when test="$OS='Windows'">
+                                        
+                                        <xsl:text>Windows (CR+LF)</xsl:text>
+                                        
+                                    </xsl:when>
+                                    
+                                    <xsl:when test="$OS='Mac'">
+                                        
+                                        <xsl:text>Mac OS (CR)</xsl:text>
+                                        
+                                    </xsl:when>
+                                    
+                                    <xsl:otherwise>
+                                        
+                                        <xsl:text>Unix (LF)</xsl:text>
+                                        
+                                    </xsl:otherwise>
+                                    
+                                </xsl:choose>
+                                
+                            </xsl:when>
+                            
+                            <xsl:otherwise>
+                                
+                                <xsl:value-of select="@eol"/>
+                                
+                            </xsl:otherwise>
+                            
+                        </xsl:choose>
+                        
+                    </xsl:variable>
+                    
+                    <option value="Unix (LF)">
+                        
+                        <xsl:if test="$eol='Unix (LF)'">
+                            
+                            <xsl:attribute name="selected">selected</xsl:attribute>
+                            
+                        </xsl:if>
+                        
+                    </option>
+                    
+                    <option value="Windows (CR+LF)">
+                        
+                        <xsl:if test="$eol='Windows (CR+LF)'">
+                            
+                            <xsl:attribute name="selected">selected</xsl:attribute>
+                            
+                        </xsl:if>
+                        
+                    </option>
+                    
+                    <option value="Mac OS (CR)">
+                        
+                        <xsl:if test="$eol='Mac OS (CR)'">
+                            
+                            <xsl:attribute name="selected">selected</xsl:attribute>
+                            
+                        </xsl:if>
+                        
+                    </option>
+                    
+                </Select>
+                
+            </Grid>
+            
+        </Title>
+        
+    </xsl:template>
+    
+    
+    
+    <xsl:template match="scinotes-display">
+        
+        <Title text="_(General display options)">
+            
+            <Grid>
+                
+                <Checkbox checked="{@highlight-current-line}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Highlight current line: )" gridx="1" gridy="1" fill="none" weightx="0" anchor="west">
+                    
+                    <actionPerformed choose="highlight-current-line">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                </Checkbox>
+                
+                <Panel gridx="2" gridy="1" weightx="1"/>
+                
+                <Panel gridx="3" gridy="1" weightx="1"/>
+                
+                <Color color="{@current-line-color}" listener="ActionListener" gridx="4" gridy="1" weightx="0" enable="{@highlight-current-line}">
+                    
+                    <actionPerformed choose="current-line-color">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                </Color>
+                
+                <Checkbox checked="{@show-line-numbers}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Show line numbers: )" gridx="1" gridy="2" fill="none" weightx="0" anchor="west">
+                    
+                    <actionPerformed choose="show-line-numbers">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                </Checkbox>
+                
+                <Radiobutton value="{@whereami}" expected-value="true" listener="ActionListener" text="_(Whereami compatible)" gridx="2" gridy="2" fill="none" weightx="0" anchor="west" enable="{@show-line-numbers}">
+                    
+                    <actionPerformed choose="whereami">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                </Radiobutton>
+                
+                <Radiobutton value="{@whereami}" expected-value="false" listener="ActionListener" text="_(Normal)" gridx="3" gridy="2" gridwidth="2" fill="none" weightx="0" anchor="west" enable="{@show-line-numbers}">
+                    
+                    <actionPerformed choose="whereami">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                </Radiobutton>
+                
+                <Checkbox checked="{@wrap-lines}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Wrap lines)" gridx="1" gridy="3" fill="none" weightx="0" anchor="west">
+                    
+                    <actionPerformed choose="wrap-lines">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                </Checkbox>
+                
+            </Grid>
+            
+        </Title>
+        
+        <VSpace height="10"/>
+        
+        <Title text="_(Keywords)">
+            
+            <Grid>
+                
+                <Checkbox checked="{@keywords-colorization}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Enable keywords colorization)" gridx="1" gridy="1" fill="none" weightx="0" anchor="west">
+                    
+                    <actionPerformed choose="keywords-colorization">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                </Checkbox>
+                
+                <Panel gridx="2" gridy="1" weightx="1"/>
+                
+                <Link gridx="3" gridy="1" weightx="0" listener="MouseListener" text="_(Set syntax Colors)" enable="{@keywords-colorization}">
+                    
+                    <mouseClicked set="path" value="scinotes/header" context="/" enable="{@keywords-colorization}"/>
+                    
+                </Link>
+                
+                <Checkbox checked="{@highlight-brackets}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Highlight corresponding brackets)" gridx="1" gridy="2" fill="none" weightx="0" anchor="west">
+                    
+                    <actionPerformed choose="highlight-brackets">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                </Checkbox>
+                
+                <Grid gridx="1" gridy="3" gridwidth="3" ipadx="10">
+                    
+                    <Label gridx="1" gridy="1" weightx="0" text="_(Color: )" enable="{@highlight-brackets}"/>
+                    
+                    <Color color="{@brackets-color}" listener="ActionListener" gridx="2" gridy="1" weightx="0" enable="{@highlight-brackets}">
+                        
+                        <actionPerformed choose="brackets-color">
+                            
+                            <xsl:call-template name="context"/>
+                            
+                        </actionPerformed>
+                        
+                    </Color>
+                    
+                    <Panel gridx="3" gridy="1" weightx="1"/>
+                    
+                    <Checkbox checked="{@brackets-onmouseover}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Highlight on mouse over)" gridx="4" gridy="1" fill="none" weightx="0" anchor="west" enable="{@highlight-brackets}">
+                        
+                        <actionPerformed choose="brackets-onmouseover">
+                            
+                            <xsl:call-template name="context"/>
+                            
+                        </actionPerformed>
+                        
+                    </Checkbox>
+                    
+                    <Panel gridx="5" gridy="1" weightx="1"/>
+                    
+                    <Label gridx="6" gridy="1" weightx="0" text="_(Style: )" enable="{@highlight-brackets}"/>
+                    
+                    <Select gridx="7" gridy="1" listener="ActionListener" enable="{@highlight-brackets}">
+                        
+                        <actionPerformed choose="brackets-highlightment">
+                            
+                            <xsl:call-template name="context"/>
+                            
+                        </actionPerformed>
+                        
+                        <option value="_(Filled)" key="Filled"/>
+                        
+                        <option value="_(Framed)" key="Framed"/>
+                        
+                        <option value="_(Underlined)" key="Underlined"/>
+                        
+                    </Select>
+                    
+                </Grid>
+                
+                <Checkbox checked="{@highlight-keywords}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Highlight corresponding keywords (e.g. if ... end))" gridx="1" gridy="4" fill="none" weightx="0" anchor="west">
+                    
+                    <actionPerformed choose="highlight-keywords">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                </Checkbox>
+                
+                <Grid gridx="1" gridy="5" gridwidth="3" ipadx="10">
+                    
+                    <Label gridx="1" gridy="1" weightx="0" text="_(Color: )" enable="{@highlight-keywords}"/>
+                    
+                    <Color color="{@keywords-color}" listener="ActionListener" gridx="2" gridy="1" weightx="0" enable="{@highlight-keywords}">
+                        
+                        <actionPerformed choose="keywords-color">
+                            
+                            <xsl:call-template name="context"/>
+                            
+                        </actionPerformed>
+                        
+                    </Color>
+                    
+                    <Panel gridx="3" gridy="1" weightx="1"/>
+                    
+                    <Checkbox checked="{@keywords-onmouseover}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Highlight on mouse over)" gridx="4" gridy="1" fill="none" weightx="0" anchor="west" enable="{@highlight-keywords}">
+                        
+                        <actionPerformed choose="keywords-onmouseover">
+                            
+                            <xsl:call-template name="context"/>
+                            
+                        </actionPerformed>
+                        
+                    </Checkbox>
+                    
+                    <Panel gridx="5" gridy="1" weightx="1"/>
+                    
+                    <Label gridx="6" gridy="1" weightx="0" text="_(Style: )" enable="{@highlight-keywords}"/>
+                    
+                    <Select gridx="7" gridy="1" listener="ActionListener" enable="{@highlight-keywords}">
+                        
+                        <actionPerformed choose="keywords-highlightment">
+                            
+                            <xsl:call-template name="context"/>
+                            
+                        </actionPerformed>
+                        
+                        <option value="_(Filled)" key="Filled"/>
+                        
+                        <option value="_(Framed)" key="Framed"/>
+                        
+                    </Select>
+                    
+                </Grid>
+                
+            </Grid>
+            
+        </Title>
+        
+        <VSpace height="10"/>
+        
+        <Title text="_(Tabulation and Indentation)">
+            
+            <Grid>
+                
+                <Label text="_(Tabulation size: )" gridx="1" gridy="1" weightx="0"/>
+                
+                <NumericalSpinner gridx="2"\r
                           gridy="1"\r
                           weightx="0"\r
                           min-value = "0"\r
                           increment = "1"\r
                           length = "3"\r
                           listener = "ActionListener"\r
-                          value = "{@tab-size}">\r
-          <actionPerformed choose="tab-size">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-        </NumericalSpinner>\r
-        <Panel gridx="3" gridy="1" weightx="1"/>\r
-        <Checkbox checked="{@use-spaces}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Use space)" gridx="4" gridy="1" fill="none" weightx="0" anchor="west">\r
-          <actionPerformed choose="use-spaces">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-        </Checkbox>\r
-\r
-        <xsl:variable name="enable">\r
-          <xsl:choose>\r
-            <xsl:when test="@use-spaces='true'">\r
-              <xsl:text>false</xsl:text>\r
-            </xsl:when>\r
-            <xsl:otherwise>\r
-              <xsl:text>true</xsl:text>\r
-            </xsl:otherwise>\r
-          </xsl:choose>\r
-        </xsl:variable>\r
-\r
-        <Label text="_(Representation: )" gridx="1" gridy="2" weightx="0" enable="{$enable}"/>\r
-        <Radiobutton value="{@tab-representation}" expected-value="chevrons" listener="ActionListener" text="_(Chevrons)" gridx="2" gridy="2" fill="none" weightx="0" anchor="west" enable="{$enable}">\r
-          <actionPerformed choose="tab-representation">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-        </Radiobutton>\r
-        <Radiobutton value="{@tab-representation}" expected-value="hrule" listener="ActionListener" text="_(Horizontal rule)" gridx="3" gridy="2" fill="none" weightx="0" anchor="center" enable="{$enable}">\r
-          <actionPerformed choose="tab-representation">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-        </Radiobutton>\r
-        <Radiobutton value="{@tab-representation}" expected-value="vrule" listener="ActionListener" text="_(Vertical rule)" gridx="4" gridy="2" fill="none" weightx="0" anchor="west" enable="{$enable}">\r
-          <actionPerformed choose="tab-representation">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-        </Radiobutton>\r
-\r
-        <Checkbox checked="{@automatic-indent}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Enable auto indentation)" gridx="1" gridy="3" fill="none" weightx="0" anchor="west">\r
-          <actionPerformed choose="automatic-indent">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-        </Checkbox>\r
-        <Label gridy="4" text="_(Indent size: )" enable="{@automatic-indent}"/>\r
-        <NumericalSpinner gridx="2"\r
+                          value = "{@tab-size}">
+                    
+                    <actionPerformed choose="tab-size">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                </NumericalSpinner>
+                
+                <Panel gridx="3" gridy="1" weightx="1"/>
+                
+                <Checkbox checked="{@use-spaces}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Use space)" gridx="4" gridy="1" fill="none" weightx="0" anchor="west">
+                    
+                    <actionPerformed choose="use-spaces">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                </Checkbox>
+                
+                
+                
+                <xsl:variable name="enable">
+                    
+                    <xsl:choose>
+                        
+                        <xsl:when test="@use-spaces='true'">
+                            
+                            <xsl:text>false</xsl:text>
+                            
+                        </xsl:when>
+                        
+                        <xsl:otherwise>
+                            
+                            <xsl:text>true</xsl:text>
+                            
+                        </xsl:otherwise>
+                        
+                    </xsl:choose>
+                    
+                </xsl:variable>
+                
+                
+                
+                <Label text="_(Representation: )" gridx="1" gridy="2" weightx="0" enable="{$enable}"/>
+                
+                <Radiobutton value="{@tab-representation}" expected-value="chevrons" listener="ActionListener" text="_(Chevrons)" gridx="2" gridy="2" fill="none" weightx="0" anchor="west" enable="{$enable}">
+                    
+                    <actionPerformed choose="tab-representation">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                </Radiobutton>
+                
+                <Radiobutton value="{@tab-representation}" expected-value="hrule" listener="ActionListener" text="_(Horizontal rule)" gridx="3" gridy="2" fill="none" weightx="0" anchor="center" enable="{$enable}">
+                    
+                    <actionPerformed choose="tab-representation">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                </Radiobutton>
+                
+                <Radiobutton value="{@tab-representation}" expected-value="vrule" listener="ActionListener" text="_(Vertical rule)" gridx="4" gridy="2" fill="none" weightx="0" anchor="west" enable="{$enable}">
+                    
+                    <actionPerformed choose="tab-representation">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                </Radiobutton>
+                
+                
+                
+                <Checkbox checked="{@automatic-indent}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Enable auto indentation)" gridx="1" gridy="3" fill="none" weightx="0" anchor="west">
+                    
+                    <actionPerformed choose="automatic-indent">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                </Checkbox>
+                
+                <Label gridy="4" text="_(Indent size: )" enable="{@automatic-indent}"/>
+                
+                <NumericalSpinner gridx="2"\r
                           gridy="4"\r
                           weightx="0"\r
                           min-value = "0"\r
                           length = "3"\r
                           enable="{@automatic-indent}"\r
                           listener = "ActionListener"\r
-                          value = "{@indent-size}">\r
-          <actionPerformed choose="indent-size">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-        </NumericalSpinner>\r
-      </Grid>\r
-    </Title>\r
-  </xsl:template>\r
-\r
-  <xsl:template match="scinotes-autosave">\r
-    <Checkbox checked="{@enable}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Enable autosave in Scinotes)">\r
-      <actionPerformed choose="enable">\r
-        <xsl:call-template name="context"/>\r
-      </actionPerformed>\r
-    </Checkbox>\r
-    <VSpace height="10"/>\r
-    <Title text="_(Save options)">\r
-      <Grid>\r
-        <Label gridx="1" gridy="1" weightx="0" anchor="west" text="_(Save every )" enable="{@enable}"/>\r
-        <NumericalSpinner gridx="2"\r
+                          value = "{@indent-size}">
+                    
+                    <actionPerformed choose="indent-size">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                </NumericalSpinner>
+                
+            </Grid>
+            
+        </Title>
+        
+    </xsl:template>
+    
+    
+    
+    <xsl:template match="scinotes-autosave">
+        
+        <Checkbox checked="{@enable}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Enable autosave in Scinotes)">
+            
+            <actionPerformed choose="enable">
+                
+                <xsl:call-template name="context"/>
+                
+            </actionPerformed>
+            
+        </Checkbox>
+        
+        <VSpace height="10"/>
+        
+        <Title text="_(Save options)">
+            
+            <Grid>
+                
+                <Label gridx="1" gridy="1" weightx="0" anchor="west" text="_(Save every )" enable="{@enable}"/>
+                
+                <NumericalSpinner gridx="2"\r
                           gridy="1"\r
                           weightx="0"\r
                           min-value = "1"\r
                           length = "4"\r
                           listener = "ActionListener"\r
                           enable = "{@enable}"\r
-                          value = "{@save-every}">\r
-          <actionPerformed choose="save-every">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-        </NumericalSpinner>\r
-        <Label gridx="3" gridy="1" weightx="0" anchor="west" text="_( minutes )" enable="{@enable}"/>\r
-        <Panel gridx="4" gridy="1" gridheight="1" fill="both"/>\r
-      </Grid>\r
-    </Title>\r
-    <VSpace height="10"/>\r
-    <Title text="_(Close options)">\r
-      <Checkbox checked="{@automatic-delete}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Delete automatically saved files)" enable="{@enable}">\r
-        <actionPerformed choose="automatic-delete">\r
-          <xsl:call-template name="context"/>\r
-        </actionPerformed>\r
-      </Checkbox>\r
-    </Title>\r
-    <VSpace height="10"/>\r
-    <Title text="_(Filename)">\r
-      <Grid>\r
-        <Radiobutton value="{@append-filename}" expected-value="true" listener="ActionListener" text="_(Append filename with: )" gridx="1" gridy="1" fill="none" weightx="0" anchor="west" enable="{@enable}">\r
-          <actionPerformed choose="append-filename">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-        </Radiobutton>\r
-        <Panel gridx="2" gridy="1" gridheight="1" fill="both"/>\r
-        <Entry gridx="3" gridy="1" weightx="1" anchor="above_baseline"\r
+                          value = "{@save-every}">
+                    
+                    <actionPerformed choose="save-every">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                </NumericalSpinner>
+                
+                <Label gridx="3" gridy="1" weightx="0" anchor="west" text="_( minutes )" enable="{@enable}"/>
+                
+                <Panel gridx="4" gridy="1" gridheight="1" fill="both"/>
+                
+            </Grid>
+            
+        </Title>
+        
+        <VSpace height="10"/>
+        
+        <Title text="_(Close options)">
+            
+            <Checkbox checked="{@automatic-delete}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Delete automatically saved files)" enable="{@enable}">
+                
+                <actionPerformed choose="automatic-delete">
+                    
+                    <xsl:call-template name="context"/>
+                    
+                </actionPerformed>
+                
+            </Checkbox>
+            
+        </Title>
+        
+        <VSpace height="10"/>
+        
+        <Title text="_(Filename)">
+            
+            <Grid>
+                
+                <Radiobutton value="{@append-filename}" expected-value="true" listener="ActionListener" text="_(Append filename with: )" gridx="1" gridy="1" fill="none" weightx="0" anchor="west" enable="{@enable}">
+                    
+                    <actionPerformed choose="append-filename">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                </Radiobutton>
+                
+                <Panel gridx="2" gridy="1" gridheight="1" fill="both"/>
+                
+                <Entry gridx="3" gridy="1" weightx="1" anchor="above_baseline"\r
                listener="EntryListener"\r
-               text="{@append-with}">\r
-          <xsl:attribute name="enable">\r
-            <xsl:if test="@enable='true' and @append-filename='true'">\r
-              <xsl:text>true</xsl:text>\r
-            </xsl:if>\r
-          </xsl:attribute>\r
-          <entryChanged choose="append-with">\r
-            <xsl:call-template name="context"/>\r
-          </entryChanged>\r
-        </Entry>\r
-        <Radiobutton value="{@append-filename}" expected-value="false" listener="ActionListener" text="_(Replace extension with: )" gridx="1" gridy="2" fill="none" weightx="0" anchor="west" enable="{@enable}">\r
-          <actionPerformed choose="append-filename">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-        </Radiobutton>\r
-        <Entry gridx="3" gridy="2" weightx="1" anchor="above_baseline"\r
+               text="{@append-with}">
+                    
+                    <xsl:attribute name="enable">
+                        
+                        <xsl:if test="@enable='true' and @append-filename='true'">
+                            
+                            <xsl:text>true</xsl:text>
+                            
+                        </xsl:if>
+                        
+                    </xsl:attribute>
+                    
+                    <entryChanged choose="append-with">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </entryChanged>
+                    
+                </Entry>
+                
+                <Radiobutton value="{@append-filename}" expected-value="false" listener="ActionListener" text="_(Replace extension with: )" gridx="1" gridy="2" fill="none" weightx="0" anchor="west" enable="{@enable}">
+                    
+                    <actionPerformed choose="append-filename">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                </Radiobutton>
+                
+                <Entry gridx="3" gridy="2" weightx="1" anchor="above_baseline"\r
                listener="EntryListener"\r
-               text="{@replace-with}">\r
-          <xsl:attribute name="enable">\r
-            <xsl:if test="@enable='true' and @append-filename='false'">\r
-              <xsl:text>true</xsl:text>\r
-            </xsl:if>\r
-          </xsl:attribute>\r
-          <entryChanged choose="replace-with">\r
-            <xsl:call-template name="context"/>\r
-          </entryChanged>\r
-        </Entry>\r
-      </Grid>\r
-    </Title>\r
-    <VSpace height="10"/>\r
-    <Title text="_(Location)">\r
-      <Grid>\r
-        <Radiobutton value="{@source-flag}" expected-value="true" listener="ActionListener" text="_(Source file directory)" gridx="1" gridy="1" fill="none" weightx="0" anchor="west" enable="{@enable}">\r
-          <actionPerformed choose="source-flag">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-        </Radiobutton>\r
-        <Radiobutton value="{@source-flag}" expected-value="false" listener="ActionListener" text="_(Single directory)" gridx="1" gridy="2" fill="none" weightx="0" anchor="west" enable="{@enable}">\r
-          <actionPerformed choose="source-flag">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-        </Radiobutton>\r
-        <Panel gridx="2" gridy="2" gridheight="1" fill="both"/>\r
-        <FileSelector gridx="3" gridy="2" href="{@single-directory}" mask="*"\r
+               text="{@replace-with}">
+                    
+                    <xsl:attribute name="enable">
+                        
+                        <xsl:if test="@enable='true' and @append-filename='false'">
+                            
+                            <xsl:text>true</xsl:text>
+                            
+                        </xsl:if>
+                        
+                    </xsl:attribute>
+                    
+                    <entryChanged choose="replace-with">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </entryChanged>
+                    
+                </Entry>
+                
+            </Grid>
+            
+        </Title>
+        
+        <VSpace height="10"/>
+        
+        <Title text="_(Location)">
+            
+            <Grid>
+                
+                <Radiobutton value="{@source-flag}" expected-value="true" listener="ActionListener" text="_(Source file directory)" gridx="1" gridy="1" fill="none" weightx="0" anchor="west" enable="{@enable}">
+                    
+                    <actionPerformed choose="source-flag">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                </Radiobutton>
+                
+                <Radiobutton value="{@source-flag}" expected-value="false" listener="ActionListener" text="_(Single directory)" gridx="1" gridy="2" fill="none" weightx="0" anchor="west" enable="{@enable}">
+                    
+                    <actionPerformed choose="source-flag">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                </Radiobutton>
+                
+                <Panel gridx="2" gridy="2" gridheight="1" fill="both"/>
+                
+                <FileSelector gridx="3" gridy="2" href="{@single-directory}" mask="*"\r
                       desc="_(Choose an autosave directory)"\r
                       dir-selection = "true"\r
-                      listener="EntryListener">\r
-          <xsl:attribute name="enable">\r
-            <xsl:if test="@enable='true' and @source-flag='false'">\r
-              <xsl:text>true</xsl:text>\r
-            </xsl:if>\r
-          </xsl:attribute>\r
-          <entryChanged choose="single-directory">\r
-            <xsl:call-template name="context"/>\r
-          </entryChanged>\r
-        </FileSelector>\r
-      </Grid>\r
-    </Title>\r
-  </xsl:template>\r
-\r
-  <xsl:template match="scinotes-header">\r
-    <Title text="_(Default header)">\r
-      <Grid>\r
-        <Checkbox checked="{@enable}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Add a default header to new file)" gridx="1" gridy="1" fill="none" weightx="0" anchor="west">\r
-          <actionPerformed choose="enable">\r
-            <xsl:call-template name="context"/>\r
-          </actionPerformed>\r
-        </Checkbox>\r
-        <Panel gridx="2" gridy="1" gridheight="1" fill="both"/>\r
-        <TextArea gridx="1" gridy="2" weightx="1" gridwidth="2" weighty="0" anchor="west"\r
+                      listener="EntryListener">
+                    
+                    <xsl:attribute name="enable">
+                        
+                        <xsl:if test="@enable='true' and @source-flag='false'">
+                            
+                            <xsl:text>true</xsl:text>
+                            
+                        </xsl:if>
+                        
+                    </xsl:attribute>
+                    
+                    <entryChanged choose="single-directory">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </entryChanged>
+                    
+                </FileSelector>
+                
+            </Grid>
+            
+        </Title>
+        
+    </xsl:template>
+    
+    
+    
+    <xsl:template match="scinotes-header">
+        
+        <Title text="_(Default header)">
+            
+            <Grid>
+                
+                <Checkbox checked="{@enable}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Add a default header to new file)" gridx="1" gridy="1" fill="none" weightx="0" anchor="west">
+                    
+                    <actionPerformed choose="enable">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </actionPerformed>
+                    
+                </Checkbox>
+                
+                <Panel gridx="2" gridy="1" gridheight="1" fill="both"/>
+                
+                <TextArea gridx="1" gridy="2" weightx="1" gridwidth="2" weighty="0" anchor="west"\r
                   editable="true"\r
                   rows="15"\r
                   scroll="true"\r
                   listener="EntryListener"\r
-                  enable="{@enable}">\r
-          <xsl:attribute name="text">\r
-            <xsl:value-of select="string(child::node()[1])" disable-output-escaping="yes"/>\r
-          </xsl:attribute>\r
-          <entryChanged choose-child="1">\r
-            <xsl:call-template name="context"/>\r
-          </entryChanged>\r
-        </TextArea>\r
-      </Grid>\r
-    </Title>\r
-  </xsl:template>\r
-</xsl:stylesheet>\r
+                  enable="{@enable}">
+                    
+                    <xsl:attribute name="text">
+                        
+                        <xsl:value-of select="string(child::node()[1])" disable-output-escaping="yes"/>
+                        
+                    </xsl:attribute>
+                    
+                    <entryChanged choose-child="1">
+                        
+                        <xsl:call-template name="context"/>
+                        
+                    </entryChanged>
+                    
+                </TextArea>
+                
+            </Grid>
+            
+        </Title>
+        
+    </xsl:template>
+    
+</xsl:stylesheet>
+
index 2bbd1bd..ae62757 100644 (file)
         </menu>
         
         <menu label="?">
-            <menuitem action="scinotes-help" label="SciNotes help"/>
+            <menuitem action="scinotes-help" label="Scinotes help"/>
             <menuitem action="scinotes-help-keyword" label="Help on ;Help on selection"/>
             <menuitem action="scinotes-about" label="About"/>
         </menu>
index b69dae9..ecc72b7 100644 (file)
@@ -95,7 +95,7 @@
             reported by the menu entries.
         </para>
         <para/>
-        <para>SciNotes can be started in the following ways :</para>
+        <para>Scinotes can be started in the following ways :</para>
         <itemizedlist>
             <listitem>
                 <para>By the menu Applications. Choose Applications =&gt;
index dcd3585..ccb419c 100644 (file)
@@ -95,7 +95,7 @@
             メニューのエントリで知ることができます.
         </para>
         <para/>
-        <para>SciNotes は以下のどれかの方法で起動できます :</para>
+        <para>Scinotes は以下のどれかの方法で起動できます :</para>
         <itemizedlist>
             <listitem>
                 <para>アプリケーションメニューから. アプリケーション =&gt;