PSPPIRE: Add feature to search for text in the syntax window.
[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   </submenu>
127 </menu>
128 <object class="GtkScrolledWindow" id="scrolledwindow8">
129   <property name="visible">True</property>
130   <property name="can_focus">True</property>
131   <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
132   <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
133   <property name="shadow_type">GTK_SHADOW_IN</property>
134   <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
135   <child>
136     <object class="GtkSourceView" id="syntax_text_view">
137       <property name="visible">True</property>
138       <property name="can_focus">True</property>
139       <property name="editable">True</property>
140       <property name="overwrite">False</property>
141       <property name="accepts_tab">True</property>
142       <property name="justification">GTK_JUSTIFY_LEFT</property>
143       <property name="wrap_mode">GTK_WRAP_NONE</property>
144       <property name="cursor_visible">True</property>
145       <property name="pixels_above_lines">0</property>
146       <property name="pixels_below_lines">0</property>
147       <property name="pixels_inside_wrap">0</property>
148       <property name="left_margin">0</property>
149       <property name="right_margin">0</property>
150       <property name="indent">0</property>
151     </object>
152   </child>
153 </object>
154 <object class="GtkStatusbar" id="statusbar2">
155   <property name="visible">True</property>
156 </object>
157 </interface>