Skip to content

Commit bde8649

Browse files
committed
Fixed in issue in the help patcher: newlines in a textedit box somehow got replaced with linefeeds, which was confusing the Ruby interpreter.
1 parent 6b441fd commit bde8649

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

jruby_for_max/jruby.examples.handling-input.maxpat

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270
"numoutlets" : 1,
271271
"outlettype" : [ "" ],
272272
"patching_rect" : [ 33.0, 565.0, 242.0, 18.0 ],
273-
"text" : ":a :b :c"
273+
"text" : ":c :b :a"
274274
}
275275

276276
}
@@ -324,10 +324,9 @@
324324
"numoutlets" : 4,
325325
"outlettype" : [ "", "int", "", "" ],
326326
"outputmode" : 1,
327-
"patching_rect" : [ 214.0, 360.0, 173.0, 113.0 ],
328-
"readonly" : 1,
327+
"patching_rect" : [ 214.0, 360.0, 178.0, 117.0 ],
329328
"tabmode" : 0,
330-
"text" : "def bang \r out0 \"bang\".reverse\rend\r\rdef inlet(inlet_index, *params) \r out0 params.reverse\rend"
329+
"text" : "def bang \n out0 \"bang\".reverse\nend\n\ndef inlet(inlet_index, *params) \n out0 params.reverse\nend"
331330
}
332331

333332
}
@@ -550,8 +549,7 @@
550549
"numinlets" : 2,
551550
"numoutlets" : 1,
552551
"outlettype" : [ "" ],
553-
"patching_rect" : [ 77.0, 219.0, 358.0, 18.0 ],
554-
"text" : "\"arg0=123, arg1=, arg2=text\""
552+
"patching_rect" : [ 77.0, 219.0, 358.0, 18.0 ]
555553
}
556554

557555
}

0 commit comments

Comments
 (0)