aboutsummaryrefslogtreecommitdiff
path: root/text-help.pd
blob: eed5fae23aff7baeb98aa4e6e887efee191cd7e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
#N canvas 245 42 785 704 10;
#X obj 52 -43 text 130 60 0;
#X obj 53 -193 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 12 65 print;
#X msg 78 -197 clear;
#X msg 107 -157 set one two three four five six;
#X obj 36 142 text 130 60 0;
#X obj 231 3 select return;
#X obj 59 66 pddp/print;
#X obj 198 -86 trigger bang bang;
#X msg 198 -65 clear;
#X symbolatom 196 68 10 0 0 1 last_key_typed - -;
#X text 235 24 ^-- hit return to output;
#X msg 118 -134 append seven eight nine;
#X msg 122 -114 append ten eleven.;
#X obj 554 -171 text 130 60 0 -autoseparators 1 -background white -borderwidth
2 -cursor xterm -exportselection 1 -font {Courier 12} -foreground Black
-height 24 -highlightbackground systemWindowBody -highlightcolor Black
-highlightthickness 1 -insertbackground Black -insertborderwidth 0
-insertofftime 300 -insertontime 600 -insertwidth 1 -maxundo 0 -padx
1 -pady 1 -relief sunken -selectbackground systemHighlightSecondary
-selectborderwidth 1 -selectforeground systemHighlightText -setgrid
0 -spacing1 0 -spacing2 0 -spacing3 0 -state normal -undo 0 -width
80 -wrap char;
#X obj 581 -213 symbol;
#X msg 479 -240 flat;
#X msg 514 -240 groove;
#X msg 561 -240 raised;
#X msg 609 -241 ridge;
#X msg 650 -241 solid;
#X msg 691 -241 sunken;
#X obj 653 281 symbol;
#X obj 557 283 symbol;
#X msg 540 259 on;
#X msg 574 258 off;
#X msg 634 256 normal;
#X msg 680 256 disabled;
#X msg 26 110 size 100 50;
#X text 633 236 disable editing;
#X obj 582 -34 text 130 60 0;
#X obj 581 -79 symbol;
#X obj 597 107 symbol;
#X msg 539 -104 none;
#X msg 574 -104 char;
#X msg 611 -104 word;
#X text 628 -80 word wrapping;
#X msg 612 75 purple;
#X msg 659 75 orange;
#X msg 707 74 magenta;
#X obj 452 45 pddp/pddplink http://en.wikipedia.org/wiki/X11_color_names
;
#X obj 394 -34 text 130 60 0 -autoseparators 1 -background grey70 -borderwidth
1 -cursor xterm -exportselection 1 -font {Courier 12} -foreground Black
-height 24 -highlightbackground systemWindowBody -highlightcolor Black
-highlightthickness 1 -insertbackground Black -insertborderwidth 0
-insertofftime 300 -insertontime 600 -insertwidth 0 -maxundo 0 -padx
1 -pady 1 -relief sunken -selectbackground systemHighlightSecondary
-selectborderwidth 1 -selectforeground systemHighlightText -setgrid
0 -spacing1 0 -spacing2 0 -spacing3 0 -state normal -undo 0 -width
80 -wrap char;
#X obj 331 -90 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 10 -262144
-1 -1 0 1;
#X obj 59 330 text 130 60 0 -autoseparators 1 -background grey70 -borderwidth
1 -cursor gobbler -exportselection 1 -font {Courier 12} -foreground
Black -height 24 -highlightbackground systemWindowBody -highlightcolor
Black -highlightthickness 1 -insertbackground Black -insertborderwidth
0 -insertofftime 300 -insertontime 600 -insertwidth 1 -maxundo 0 -padx
1 -pady 1 -relief sunken -selectbackground systemHighlight -selectborderwidth
1 -selectforeground systemHighlightText -setgrid 0 -spacing1 0 -spacing2
0 -spacing3 0 -state normal -undo 0 -width 80 -wrap char;
#X obj 58 285 symbol;
#X obj 46 394 pddp/pddplink http://tcl.tk/man/tcl8.4/TkCmd/cursors.htm
;
#X msg 56 250 boat;
#X msg 16 250 clock;
#X msg 159 250 gumby;
#X msg 202 250 gobbler;
#X obj 404 -212 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 10 -262144
-1 -1 0 1;
#X obj 470 -90 tgl 15 0 empty empty empty 0 -6 0 10 -262144 -1 -1 0
1;
#X msg 109 -80 key a;
#X msg 150 -80 key 32;
#X obj 352 259 keyup;
#X msg 352 298 key \$1;
#X floatatom 369 280 5 0 0 0 - - -;
#X msg 249 -41 key 3322;
#X obj 560 335 text 130 60 0;
#X obj 352 333 text 130 60 0;
#X text 347 237 type single chars:;
#X msg 421 284 key a;
#X msg 422 306 key 9;
#X text 201 372 for more cursors:;
#X text 337 398 for more keynums:;
#X msg 413 265 key 65228;
#X msg 91 250 coffee_mug;
#X msg 59 306 cursor \$1;
#X msg 401 -192 borderwidth \$1;
#X msg 582 -192 relief \$1;
#X msg 582 -58 wrap \$1;
#X msg 329 -70 insertwidth \$1;
#X msg 557 305 undo \$1;
#X msg 652 304 state \$1;
#X msg 113 110 size 200 100;
#X msg 577 75 #00f;
#X text 528 236 turn off undo;
#X obj 261 157 text 130 60 0 -autoseparators 1 -background grey70 -borderwidth
1 -cursor xterm -exportselection 1 -font {"Lucida Sans" 18 bold} -foreground
Black -height 24 -highlightbackground systemWindowBody -highlightcolor
Black -highlightthickness 1 -insertbackground Black -insertborderwidth
0 -insertofftime 300 -insertontime 600 -insertwidth 1 -maxundo 0 -padx
1 -pady 1 -relief sunken -selectbackground systemHighlightSecondary
-selectborderwidth 1 -selectforeground systemHighlightText -setgrid
0 -spacing1 0 -spacing2 0 -spacing3 0 -state normal -undo 0 -width
80 -wrap char;
#X msg 285 133 font "Lucida Sans" 18 bold;
#X msg 261 108 font Arial 16;
#X obj 339 412 pddp/pddplink http://tcl.tk/man/tcl8.4/TkCmd/keysyms.htm
;
#X obj 140 -253 pddp/pddplink http://puredata.info/dev/TkWidget -text
TkWidget library;
#X text 22 -253 This is part of the;
#X obj 186 -229 pddp/pddplink http://tcl.tk/man/tcl8.4/TkCmd/text.htm
-text text;
#X text 37 -229 This object is based on:;
#X msg 470 -70 scrollbars \$1;
#X msg 598 128 background \$1;
#X obj 469 160 text 300 60 0 -autoseparators 1 -background orange -borderwidth
1 -cursor xterm -exportselection 1 -font {Courier 12} -foreground magenta
-height 24 -highlightbackground systemWindowBody -highlightcolor Black
-highlightthickness 1 -insertbackground Black -insertborderwidth 0
-insertofftime 300 -insertontime 600 -insertwidth 1 -maxundo 0 -padx
1 -pady 1 -relief sunken -selectbackground systemHighlightSecondary
-selectborderwidth 1 -selectforeground systemHighlightText -setgrid
0 -spacing1 0 -spacing2 0 -spacing3 0 -state normal -undo 0 -width
80 -wrap char;
#X obj 479 107 symbol;
#X msg 519 74 magenta;
#X msg 480 128 foreground \$1;
#X msg 399 75 #ff0;
#X msg 435 75 grey;
#X msg 471 75 black;
#N canvas 410 182 450 300 adding 0;
#X obj 90 229 text 200 60 0;
#X text 53 3 You can add text one character at a time using the "key"
message. It works either with the character itself or the ASCII value
of the character:;
#X msg 90 82 key \$1;
#X obj 94 57 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 0 1;
#X msg 126 202 key ";
#X msg 169 202 key a;
#X msg 215 202 key B;
#X msg 145 82 key 10;
#X msg 259 202 key [;
#X msg 145 102 key 32;
#X text 198 83 carriage return;
#X text 198 102 space;
#X msg 145 163 key 92;
#X text 199 161 backslash;
#X msg 145 143 key 59;
#X text 199 141 semicolon;
#X msg 145 122 key 44;
#X text 198 122 comma;
#X connect 2 0 0 0;
#X connect 3 0 2 0;
#X connect 4 0 0 0;
#X connect 5 0 0 0;
#X connect 6 0 0 0;
#X connect 7 0 0 0;
#X connect 8 0 0 0;
#X connect 9 0 0 0;
#X connect 12 0 0 0;
#X connect 14 0 0 0;
#X connect 16 0 0 0;
#X restore 199 -200 pd adding with the key message;
#X obj 107 -177 loadbang;
#X connect 0 0 2 0;
#X connect 0 0 7 0;
#X connect 0 1 6 0;
#X connect 0 1 10 0;
#X connect 1 0 0 0;
#X connect 3 0 0 0;
#X connect 4 0 0 0;
#X connect 6 0 8 0;
#X connect 8 0 9 0;
#X connect 8 1 0 0;
#X connect 9 0 0 0;
#X connect 12 0 0 0;
#X connect 13 0 0 0;
#X connect 15 0 69 0;
#X connect 16 0 15 0;
#X connect 17 0 15 0;
#X connect 18 0 15 0;
#X connect 19 0 15 0;
#X connect 20 0 15 0;
#X connect 21 0 15 0;
#X connect 22 0 73 0;
#X connect 23 0 72 0;
#X connect 24 0 23 0;
#X connect 25 0 23 0;
#X connect 26 0 22 0;
#X connect 27 0 22 0;
#X connect 28 0 5 0;
#X connect 31 0 70 0;
#X connect 32 0 86 0;
#X connect 33 0 31 0;
#X connect 34 0 31 0;
#X connect 35 0 31 0;
#X connect 37 0 32 0;
#X connect 38 0 32 0;
#X connect 39 0 32 0;
#X connect 42 0 71 0;
#X connect 44 0 67 0;
#X connect 46 0 44 0;
#X connect 47 0 44 0;
#X connect 48 0 44 0;
#X connect 49 0 44 0;
#X connect 50 0 68 0;
#X connect 51 0 85 0;
#X connect 52 0 0 0;
#X connect 53 0 0 0;
#X connect 54 0 55 0;
#X connect 54 0 56 0;
#X connect 55 0 59 0;
#X connect 57 0 0 0;
#X connect 61 0 59 0;
#X connect 62 0 59 0;
#X connect 65 0 59 0;
#X connect 66 0 44 0;
#X connect 67 0 43 0;
#X connect 68 0 14 0;
#X connect 69 0 14 0;
#X connect 70 0 30 0;
#X connect 71 0 41 0;
#X connect 72 0 58 0;
#X connect 73 0 58 0;
#X connect 74 0 5 0;
#X connect 75 0 32 0;
#X connect 78 0 77 0;
#X connect 79 0 77 0;
#X connect 85 0 41 0;
#X connect 86 0 87 0;
#X connect 88 0 90 0;
#X connect 89 0 88 0;
#X connect 90 0 87 0;
#X connect 91 0 88 0;
#X connect 92 0 88 0;
#X connect 93 0 88 0;
#X connect 95 0 4 0;