Skip to content

Commit 9636c6c

Browse files
committed
added warning for evaluate with external editor
1 parent 39f3a15 commit 9636c6c

1 file changed

Lines changed: 194 additions & 9 deletions

File tree

mercury_ide/patchers/_mercury_main.maxpat

Lines changed: 194 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,174 @@
3838
"style" : "",
3939
"subpatcher_template" : "",
4040
"boxes" : [ {
41+
"box" : {
42+
"id" : "obj-437",
43+
"maxclass" : "newobj",
44+
"numinlets" : 2,
45+
"numoutlets" : 0,
46+
"patcher" : {
47+
"fileversion" : 1,
48+
"appversion" : {
49+
"major" : 8,
50+
"minor" : 0,
51+
"revision" : 8,
52+
"architecture" : "x64",
53+
"modernui" : 1
54+
}
55+
,
56+
"classnamespace" : "box",
57+
"rect" : [ 59.0, 103.0, 640.0, 480.0 ],
58+
"bglocked" : 0,
59+
"openinpresentation" : 0,
60+
"default_fontsize" : 12.0,
61+
"default_fontface" : 0,
62+
"default_fontname" : "Arial",
63+
"gridonopen" : 1,
64+
"gridsize" : [ 15.0, 15.0 ],
65+
"gridsnaponopen" : 1,
66+
"objectsnaponopen" : 1,
67+
"statusbarvisible" : 2,
68+
"toolbarvisible" : 1,
69+
"lefttoolbarpinned" : 0,
70+
"toptoolbarpinned" : 0,
71+
"righttoolbarpinned" : 0,
72+
"bottomtoolbarpinned" : 0,
73+
"toolbars_unpinned_last_save" : 0,
74+
"tallnewobj" : 0,
75+
"boxanimatetime" : 200,
76+
"enablehscroll" : 1,
77+
"enablevscroll" : 1,
78+
"devicewidth" : 0.0,
79+
"description" : "",
80+
"digest" : "",
81+
"tags" : "",
82+
"style" : "",
83+
"subpatcher_template" : "",
84+
"boxes" : [ {
85+
"box" : {
86+
"id" : "obj-431",
87+
"maxclass" : "message",
88+
"numinlets" : 2,
89+
"numoutlets" : 1,
90+
"outlettype" : [ "" ],
91+
"patching_rect" : [ 50.0, 180.0, 381.0, 22.0 ],
92+
"text" : "External editor is enabled. Evaluation of code is currently not possible."
93+
}
94+
95+
}
96+
, {
97+
"box" : {
98+
"id" : "obj-429",
99+
"maxclass" : "newobj",
100+
"numinlets" : 1,
101+
"numoutlets" : 0,
102+
"patching_rect" : [ 50.0, 210.0, 77.0, 22.0 ],
103+
"text" : "print warning"
104+
}
105+
106+
}
107+
, {
108+
"box" : {
109+
"id" : "obj-428",
110+
"maxclass" : "newobj",
111+
"numinlets" : 2,
112+
"numoutlets" : 2,
113+
"outlettype" : [ "bang", "" ],
114+
"patching_rect" : [ 50.0, 136.0, 34.0, 22.0 ],
115+
"text" : "sel 1"
116+
}
117+
118+
}
119+
, {
120+
"box" : {
121+
"id" : "obj-425",
122+
"maxclass" : "newobj",
123+
"numinlets" : 2,
124+
"numoutlets" : 1,
125+
"outlettype" : [ "int" ],
126+
"patching_rect" : [ 50.0, 100.0, 29.5, 22.0 ],
127+
"text" : "i"
128+
}
129+
130+
}
131+
, {
132+
"box" : {
133+
"comment" : "",
134+
"id" : "obj-435",
135+
"index" : 1,
136+
"maxclass" : "inlet",
137+
"numinlets" : 0,
138+
"numoutlets" : 1,
139+
"outlettype" : [ "bang" ],
140+
"patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ]
141+
}
142+
143+
}
144+
, {
145+
"box" : {
146+
"comment" : "",
147+
"id" : "obj-436",
148+
"index" : 2,
149+
"maxclass" : "inlet",
150+
"numinlets" : 0,
151+
"numoutlets" : 1,
152+
"outlettype" : [ "int" ],
153+
"patching_rect" : [ 97.0, 40.0, 30.0, 30.0 ]
154+
}
155+
156+
}
157+
],
158+
"lines" : [ {
159+
"patchline" : {
160+
"destination" : [ "obj-428", 0 ],
161+
"source" : [ "obj-425", 0 ]
162+
}
163+
164+
}
165+
, {
166+
"patchline" : {
167+
"destination" : [ "obj-431", 0 ],
168+
"source" : [ "obj-428", 0 ]
169+
}
170+
171+
}
172+
, {
173+
"patchline" : {
174+
"destination" : [ "obj-429", 0 ],
175+
"source" : [ "obj-431", 0 ]
176+
}
177+
178+
}
179+
, {
180+
"patchline" : {
181+
"destination" : [ "obj-425", 0 ],
182+
"source" : [ "obj-435", 0 ]
183+
}
184+
185+
}
186+
, {
187+
"patchline" : {
188+
"destination" : [ "obj-425", 1 ],
189+
"source" : [ "obj-436", 0 ]
190+
}
191+
192+
}
193+
]
194+
}
195+
,
196+
"patching_rect" : [ 24.5, 1103.0, 61.0, 22.0 ],
197+
"saved_object_attributes" : {
198+
"description" : "",
199+
"digest" : "",
200+
"globalpatchername" : "",
201+
"tags" : ""
202+
}
203+
,
204+
"text" : "p warning"
205+
}
206+
207+
}
208+
, {
41209
"box" : {
42210
"id" : "obj-419",
43211
"maxclass" : "newobj",
@@ -45654,7 +45822,7 @@
4565445822
]
4565545823
}
4565645824
,
45657-
"patching_rect" : [ 68.5, 1222.0, 206.895827999999995, 22.0 ],
45825+
"patching_rect" : [ 68.5, 1245.0, 206.895827999999995, 22.0 ],
4565845826
"saved_object_attributes" : {
4565945827
"description" : "",
4566045828
"digest" : "",
@@ -48002,7 +48170,7 @@
4800248170
"maxclass" : "newobj",
4800348171
"numinlets" : 1,
4800448172
"numoutlets" : 0,
48005-
"patching_rect" : [ 131.131942666666674, 1261.0, 60.0, 22.0 ],
48173+
"patching_rect" : [ 131.131942666666674, 1284.0, 60.0, 22.0 ],
4800648174
"text" : "s EOFpre"
4800748175
}
4800848176

@@ -50028,7 +50196,7 @@
5002850196
"maxclass" : "comment",
5002950197
"numinlets" : 1,
5003050198
"numoutlets" : 0,
50031-
"patching_rect" : [ 307.263885333333235, 1245.0, 155.736114666666708, 47.0 ],
50199+
"patching_rect" : [ 307.263885333333235, 1268.0, 155.736114666666708, 47.0 ],
5003250200
"text" : "// Variable handling\n// ring methods, dictionary storage"
5003350201
}
5003450202

@@ -50149,7 +50317,7 @@
5014950317
"maxclass" : "comment",
5015050318
"numinlets" : 1,
5015150319
"numoutlets" : 0,
50152-
"patching_rect" : [ 307.263885333333235, 1223.0, 105.0, 20.0 ],
50320+
"patching_rect" : [ 307.263885333333235, 1246.0, 105.0, 20.0 ],
5015350321
"text" : "// Lexer / Parser"
5015450322
}
5015550323

@@ -59021,7 +59189,7 @@
5902159189
"maxclass" : "newobj",
5902259190
"numinlets" : 1,
5902359191
"numoutlets" : 0,
59024-
"patching_rect" : [ 131.131942666666674, 1305.0, 104.0, 22.0 ],
59192+
"patching_rect" : [ 131.131942666666674, 1328.0, 104.0, 22.0 ],
5902559193
"text" : "consoleLog TEXT"
5902659194
}
5902759195

@@ -59121,7 +59289,7 @@
5912159289
"maxclass" : "newobj",
5912259290
"numinlets" : 1,
5912359291
"numoutlets" : 0,
59124-
"patching_rect" : [ 256.395827999999995, 1261.0, 43.0, 22.0 ],
59292+
"patching_rect" : [ 256.395827999999995, 1284.0, 43.0, 22.0 ],
5912559293
"text" : "s SOF"
5912659294
}
5912759295

@@ -60179,7 +60347,7 @@
6017960347
"maxclass" : "newobj",
6018060348
"numinlets" : 1,
6018160349
"numoutlets" : 0,
60182-
"patching_rect" : [ 83.395859000000002, 1261.0, 43.0, 22.0 ],
60350+
"patching_rect" : [ 83.395859000000002, 1284.0, 43.0, 22.0 ],
6018360351
"text" : "s EOF"
6018460352
}
6018560353

@@ -60784,7 +60952,7 @@
6078460952
"numinlets" : 3,
6078560953
"numoutlets" : 1,
6078660954
"outlettype" : [ "" ],
60787-
"patching_rect" : [ 68.5, 1185.0, 62.0, 22.0 ],
60955+
"patching_rect" : [ 68.5, 1215.0, 62.0, 22.0 ],
6078860956
"text" : "switch 2 1"
6078960957
}
6079060958

@@ -67774,6 +67942,15 @@
6777467942
"patchline" : {
6777567943
"destination" : [ "obj-17", 0 ],
6777667944
"midpoints" : [ 89.0, 1090.0, 66.75, 1090.0, 66.75, 990.0, 326.5, 990.0 ],
67945+
"order" : 0,
67946+
"source" : [ "obj-213", 0 ]
67947+
}
67948+
67949+
}
67950+
, {
67951+
"patchline" : {
67952+
"destination" : [ "obj-437", 0 ],
67953+
"order" : 1,
6777767954
"source" : [ "obj-213", 0 ]
6777867955
}
6777967956

@@ -69852,11 +70029,19 @@
6985270029
}
6985370030
, {
6985470031
"patchline" : {
69855-
"destination" : [ "obj-93", 0 ],
70032+
"destination" : [ "obj-437", 1 ],
6985670033
"order" : 2,
6985770034
"source" : [ "obj-92", 0 ]
6985870035
}
6985970036

70037+
}
70038+
, {
70039+
"patchline" : {
70040+
"destination" : [ "obj-93", 0 ],
70041+
"order" : 3,
70042+
"source" : [ "obj-92", 0 ]
70043+
}
70044+
6986070045
}
6986170046
, {
6986270047
"patchline" : {

0 commit comments

Comments
 (0)