diff --git a/pd/nw/pd_canvas.html b/pd/nw/pd_canvas.html index 0d6fa9faa82d585355430e57c006280fb43226a9..9308c01486bfa47c6fdc08779156d0d9a48a8bc7 100644 --- a/pd/nw/pd_canvas.html +++ b/pd/nw/pd_canvas.html @@ -242,14 +242,14 @@ var canvas_events = (function() { return false; }, floating_text_click: function(evt) { - pdgui.gui_post("leaving floating mode"); + //pdgui.gui_post("leaving floating mode"); canvas_events.text(); evt.stopPropagation(); evt.preventDefault(); return false; }, floating_text_keypress: function(evt) { - pdgui.gui_post("leaving floating mode"); + //pdgui.gui_post("leaving floating mode"); canvas_events.text(); //evt.stopPropagation(); //evt.preventDefault(); @@ -260,12 +260,12 @@ var canvas_events = (function() { create_obj: function() { var fudi_msg = text_to_fudi(textbox().innerText); pdgui.pdsend(name + " createobj " + fudi_msg); - pdgui.gui_post("formatted content is " + fudi_msg); + //pdgui.gui_post("formatted content is " + fudi_msg); }, set_obj: function() { var fudi_msg = text_to_fudi(textbox().innerText); pdgui.pdsend(name + " setobj " + fudi_msg); - pdgui.gui_post("formatted content is " + fudi_msg); + //pdgui.gui_post("formatted content is " + fudi_msg); } } ; diff --git a/pd/nw/pdgui.js b/pd/nw/pdgui.js index 6ee941de081c14caf10cea7fa4f13a5759492db9..7f2bb268376ce61e01d1301d01b2d22d8c04ff80 100644 --- a/pd/nw/pdgui.js +++ b/pd/nw/pdgui.js @@ -2788,7 +2788,7 @@ function iemgui_fontfamily(name) { function gui_iemgui_label_new(cid, tag, x, y, color, text, fontname, fontweight, fontsize) { var g = get_gobj(cid, tag); - gui_post("fontname is " + fontname); + //gui_post("fontname is " + fontname); // var fontheight = var svg_text = create_item(cid, 'text', { // x and y need to be relative to baseline instead of nw anchor @@ -2849,7 +2849,6 @@ function gui_iemgui_label_select(cid, tag, is_selected) { } function gui_iemgui_label_font(cid, tag, fontname, fontweight, fontsize) { -gui_post("googoo: fontsize is " + fontsize); var svg_text = get_item(cid, tag + 'label'); configure_item(svg_text, { 'font-family': iemgui_fontfamily(fontname), @@ -3727,7 +3726,7 @@ function select_text(cid, elem) { function gui_textarea(cid, tag, type, x, y, max_char_width, text, font_size, state) { //gui_post("x/y is " + x + '/' + y); //gui_post("state? " + state); - gui_post("tag is " + tag); + //gui_post("tag is " + tag); var range, svg_view; var gobj = get_gobj(cid, tag); if (state !== 0) { diff --git a/pd/src/g_editor.c b/pd/src/g_editor.c index 9f9281acb1f6073cdd15a7981d76332992c50077..46116ca682eeebe609d287d8bef25fb57e1b9bf2 100644 --- a/pd/src/g_editor.c +++ b/pd/src/g_editor.c @@ -585,14 +585,14 @@ void glist_deselect(t_glist *x, t_gobj *y) int pos = glist_getindex(glist_getcanvas(x), y); if (x->gl_editor->e_textedfor) { - fprintf(stderr, "e_textedfor\n"); + //fprintf(stderr, "e_textedfor\n"); fuddy = glist_findrtext(x, (t_text *)y); if (x->gl_editor->e_textedfor == fuddy) { - fprintf(stderr, "e_textedfor == fuddy\n"); + //fprintf(stderr, "e_textedfor == fuddy\n"); if (x->gl_editor->e_textdirty) { - fprintf(stderr, "textdirty yes\n"); + //fprintf(stderr, "textdirty yes\n"); z = fuddy; canvas_stowconnections(glist_getcanvas(x)); glist_checkanddeselectall(x, y); @@ -632,7 +632,7 @@ void glist_deselect(t_glist *x, t_gobj *y) if (z) { - fprintf(stderr, "setto\n"); + //fprintf(stderr, "setto\n"); char *buf; int bufsize; diff --git a/pd/src/g_rtext.c b/pd/src/g_rtext.c index 37ec63ebf5cd512d7dd8455f0d36225e6bc4fbf7..68e92c77d14a93b310f1023cfb9a6083352aa348 100644 --- a/pd/src/g_rtext.c +++ b/pd/src/g_rtext.c @@ -552,7 +552,6 @@ void rtext_displace(t_rtext *x, int dx, int dy) /* Not sure if this is still used */ void rtext_select(t_rtext *x, int state) { -post("selected an rtext"); t_glist *glist = x->x_glist; t_canvas *canvas = glist_getcanvas(glist); if (glist_istoplevel(glist)) @@ -572,7 +571,7 @@ post("selected an rtext"); void rtext_activate(t_rtext *x, int state) { - fprintf(stderr,"rtext_activate state=%d\n", state); + //fprintf(stderr,"rtext_activate state=%d\n", state); int w = 0, h = 0, widthspec, indx; t_glist *glist = x->x_glist; t_canvas *canvas = glist_getcanvas(glist);