diff --git a/pd/nw/pdgui.js b/pd/nw/pdgui.js
index 1f78330f8a7d35998f670294edc04d69f097e959..71a292e6fb575178191ea945c14908c29ca4c6b9 100644
--- a/pd/nw/pdgui.js
+++ b/pd/nw/pdgui.js
@@ -1747,22 +1747,6 @@ function gui_gobj_deselect(cid, tag) {
     }
 }
 
-function gui_text_select_color(cid, tag) {
-    // nb: this is handled in css now-- we should do a final check to make
-    // sure this isn't called, then get rid of it.
-    return;
-    var rect = get_item(cid, tag + "border");
-    if (rect !== null) {
-        configure_item(rect, {
-            stroke: "blue",
-            "stroke-width": 1,
-            "stroke-dasharray": "none"
-        });
-    } else {
-        post("select_color: something wrong with tag: " + tag + "border");
-    }
-}
-
 // This adds a 0.5 offset to align to pixel grid, so it should
 // only be used to move gobjs to a new position.  (Should probably
 // be renamed to gobj_move to make this more obvious.)
diff --git a/pd/src/g_all_guis.c b/pd/src/g_all_guis.c
index 271d57905f3f62bb255e2fa8651e267751cd2642..800eb26369ffdfda0882344492bcd3be4fa5f165 100644
--- a/pd/src/g_all_guis.c
+++ b/pd/src/g_all_guis.c
@@ -526,7 +526,6 @@ void iemgui_select(t_gobj *z, t_glist *glist, int selected)
         x->x_selected = canvas;
     else
         x->x_selected = NULL;
-    gui_vmess("gui_text_select_color", "xx", canvas, x);
     x->x_draw((void *)z, glist, IEM_GUI_DRAW_MODE_SELECT);
     if (selected < 2)
     {
diff --git a/pd/src/g_text.c b/pd/src/g_text.c
index 0348def28e38db21377f0f0a50ebeb1e29a1dadd..bed9349485832ac507c80fa93e0a01b99f1cf2ca 100644
--- a/pd/src/g_text.c
+++ b/pd/src/g_text.c
@@ -1620,8 +1620,6 @@ static void text_select(t_gobj *z, t_glist *glist, int state)
     {
         if (glist_istoplevel(glist))
         {
-            gui_vmess("gui_text_select_color", "xs",
-                glist_getcanvas(glist), rtext_gettag(y));
             if (z->g_pd == gatom_class)
             {
                 //sys_vgui(".x%lx.c itemconfigure %lx.l -fill %s\n",