16b2cf4bb5517cb1cc77c3bc46e03bb0fdce329f
[pspp] / src / ui / gui / syntax-editor.ui
1 <!-- PSPP - a program for statistical analysis. -->
2 <!-- Copyright (C) 2017 Free Software Foundation, Inc. -->
3
4 <!-- This program is free software: you can redistribute it and/or modify -->
5 <!-- it under the terms of the GNU General Public License as published by -->
6 <!-- the Free Software Foundation, either version 3 of the License, or -->
7 <!-- (at your option) any later version. -->
8
9 <!-- This program is distributed in the hope that it will be useful, -->
10 <!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
11 <!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the -->
12 <!-- GNU General Public License for more details. -->
13
14 <!-- You should have received a copy of the GNU General Public License -->
15 <!-- along with this program.  If not, see <http://www.gnu.org/licenses/>. -->
16
17 <?xml version="1.0"?>
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   </submenu>
99   <submenu>
100     <attribute name="label" translatable="yes">_Run</attribute>
101     <section>
102       <item>
103         <attribute name="label" translatable="yes">_All</attribute>
104         <attribute name="action">win.run-all</attribute>
105       </item>
106       <item>
107         <attribute name="label" translatable="yes">_Selection</attribute>
108         <attribute name="action">win.run-selection</attribute>
109       </item>
110       <item>
111         <attribute name="label" translatable="yes">_Current Line</attribute>
112         <attribute name="action">win.run-current-line</attribute>
113         <attribute name="accel">&lt;Primary&gt;r</attribute>
114       </item>
115       <item>
116         <attribute name="label" translatable="yes">_To End</attribute>
117         <attribute name="action">win.run-to-end</attribute>
118       </item>
119     </section>
120   </submenu>
121 </menu>
122 <object class="GtkScrolledWindow" id="scrolledwindow8">
123   <property name="visible">True</property>
124   <property name="can_focus">True</property>
125   <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
126   <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
127   <property name="shadow_type">GTK_SHADOW_IN</property>
128   <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
129   <child>
130     <object class="GtkSourceView" id="syntax_text_view">
131       <property name="visible">True</property>
132       <property name="can_focus">True</property>
133       <property name="editable">True</property>
134       <property name="overwrite">False</property>
135       <property name="accepts_tab">True</property>
136       <property name="justification">GTK_JUSTIFY_LEFT</property>
137       <property name="wrap_mode">GTK_WRAP_NONE</property>
138       <property name="cursor_visible">True</property>
139       <property name="pixels_above_lines">0</property>
140       <property name="pixels_below_lines">0</property>
141       <property name="pixels_inside_wrap">0</property>
142       <property name="left_margin">0</property>
143       <property name="right_margin">0</property>
144       <property name="indent">0</property>
145     </object>
146   </child>
147 </object>
148 <object class="GtkStatusbar" id="statusbar2">
149   <property name="visible">True</property>
150 </object>
151 </interface>