Commit f9c37dac authored by Jonathan Wilkes's avatar Jonathan Wilkes

remove or comment out old debugging messages

parent 8f3acabf
......@@ -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);
}
}
;
......
......@@ -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) {
......
......@@ -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;
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment