refactor
[pspp] / src / ui / gui / syntax-editor.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- PSPP - a program for statistical analysis. -->
3 <!-- Copyright (C) 2017 Free Software Foundation, Inc. -->
4
5 <!-- This program is free software: you can redistribute it and/or modify -->
6 <!-- it under the terms of the GNU General Public License as published by -->
7 <!-- the Free Software Foundation, either version 3 of the License, or -->
8 <!-- (at your option) any later version. -->
9
10 <!-- This program is distributed in the hope that it will be useful, -->
11 <!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
12 <!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the -->
13 <!-- GNU General Public License for more details. -->
14
15 <!-- You should have received a copy of the GNU General Public License -->
16 <!-- along with this program.  If not, see <http://www.gnu.org/licenses/>. -->
17
18 <!--*- mode: xml -*-->
19 <interface>
20   <menu id="syntax-window-menu">
21     <submenu>
22       <attribute name="label" translatable="yes">_File</attribute>
23       <section>
24         <submenu>
25           <attribute name="label" translatable="yes">_New</attribute>
26           <item>
27             <attribute name="label" translatable="yes">Syntax</attribute>
28           <attribute name="action">app.new-syntax</attribute>
29           </item>
30           <item>
31             <attribute name="label" translatable="yes">Data</attribute>
32             <attribute name="action">app.new-data</attribute>
33           </item>
34         </submenu>
35         <item>
36           <attribute name="label" translatable="yes">_Open</attribute>
37           <attribute name="action">win.open</attribute>
38           <attribute name="accel">&lt;Primary&gt;o</attribute>
39         </item>
40         <item>
41           <attribute name="label" translatable="yes">_Save</attribute>
42           <attribute name="action">win.save</attribute>
43           <attribute name="accel">&lt;Primary&gt;s</attribute>
44         </item>
45         <item>
46           <attribute name="label" translatable="yes">Save _As</attribute>
47           <attribute name="action">win.save_as</attribute>
48           <attribute name="accel">&lt;Primary&gt;&lt;Shift&gt;s</attribute>
49         </item>
50       </section>
51       <section>
52         <item>
53           <attribute name="label" translatable="yes">_Print</attribute>
54           <attribute name="action">win.print</attribute>
55         </item>
56       </section>
57       <section>
58         <item>
59           <attribute name="label" translatable="yes">_Quit</attribute>
60           <attribute name="accel">&lt;Primary&gt;q</attribute>
61           <attribute name="action">app.quit</attribute>
62         </item>
63       </section>
64     </submenu>
65     <submenu>
66     <attribute name="label" translatable="yes">_Edit</attribute>
67     <section>
68       <item>
69         <attribute name="label" translatable="yes">Cu_t</attribute>
70         <attribute name="action">win.cut</attribute>
71         <attribute name="accel">&lt;Primary&gt;x</attribute>
72       </item>
73       <item>
74         <attribute name="label" translatable="yes">_Copy</attribute>
75         <attribute name="action">win.copy</attribute>
76         <attribute name="accel">&lt;Primary&gt;c</attribute>
77       </item>
78       <item>
79         <attribute name="label" translatable="yes">_Paste</attribute>
80         <attribute name="action">win.paste</attribute>
81         <attribute name="accel">&lt;Primary&gt;v</attribute>
82       </item>
83       <item>
84         <attribute name="label" translatable="yes">_Delete</attribute>
85         <attribute name="action">win.delete</attribute>
86       </item>
87     </section>
88     <section>
89       <item>
90         <attribute name="label" translatable="yes">_Undo</attribute>
91         <attribute name="action">win.undo</attribute>
92       </item>
93       <item>
94         <attribute name="label" translatable="yes">_Redo</attribute>
95         <attribute name="action">win.redo</attribute>
96       </item>
97     </section>
98     <section>
99       <item>
100         <attribute name="label" translatable="yes">_Find</attribute>
101         <attribute name="action">win.find</attribute>
102       </item>
103     </section>
104   </submenu>
105   <submenu>
106     <attribute name="label" translatable="yes">_Run</attribute>
107     <section>
108       <item>
109         <attribute name="label" translatable="yes">_All</attribute>
110         <attribute name="action">win.run-all</attribute>
111       </item>
112       <item>
113         <attribute name="label" translatable="yes">_Selection</attribute>
114         <attribute name="action">win.run-selection</attribute>
115       </item>
116       <item>
117         <attribute name="label" translatable="yes">_Current Line</attribute>
118         <attribute name="action">win.run-current-line</attribute>
119         <attribute name="accel">&lt;Primary&gt;r</attribute>
120       </item>
121       <item>
122         <attribute name="label" translatable="yes">_To End</attribute>
123         <attribute name="action">win.run-to-end</attribute>
124       </item>
125     </section>
126     <section>
127       <item>
128         <attribute name="label" translatable="yes">A_uto Syntax</attribute>
129         <attribute name="target">auto</attribute>
130         <attribute name="action">win.syntax</attribute>
131       </item>
132       <item>
133         <attribute name="label" translatable="yes">_Interactive Syntax</attribute>
134         <attribute name="target">interactive</attribute>
135         <attribute name="action">win.syntax</attribute>
136       </item>
137       <item>
138         <attribute name="label" translatable="yes">_Batch Syntax</attribute>
139         <attribute name="target">batch</attribute>
140         <attribute name="action">win.syntax</attribute>
141       </item>
142     </section>
143   </submenu>
144 </menu>
145 <object class="GtkScrolledWindow" id="scrolledwindow8">
146   <property name="visible">True</property>
147   <property name="can_focus">True</property>
148   <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
149   <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
150   <property name="shadow_type">GTK_SHADOW_IN</property>
151   <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
152   <child>
153     <object class="GtkSourceView" id="syntax_text_view">
154       <property name="visible">True</property>
155       <property name="can_focus">True</property>
156       <property name="editable">True</property>
157       <property name="overwrite">False</property>
158       <property name="accepts_tab">True</property>
159       <property name="justification">GTK_JUSTIFY_LEFT</property>
160       <property name="wrap_mode">GTK_WRAP_NONE</property>
161       <property name="cursor_visible">True</property>
162       <property name="pixels_above_lines">0</property>
163       <property name="pixels_below_lines">0</property>
164       <property name="pixels_inside_wrap">0</property>
165       <property name="left_margin">0</property>
166       <property name="right_margin">0</property>
167       <property name="indent">0</property>
168     </object>
169   </child>
170 </object>
171 <object class="GtkStatusbar" id="statusbar2">
172   <property name="visible">True</property>
173 </object>
174 </interface>