On 11/03/2015 09:07 PM, Miller Puckette wrote:
I'm Happy to leave that in for a while at least - ultimately, I think it would be more maintainable to move the code into the plug-in, unless there's some reason that's not feasible.
actually, by now the plugin is self-contained. so you can remove the entire tcl_prompt code from pdwindow.tcl.
afaict, that's:
variable ::pdwindow::tclentry variable ::pdwindow::tclentry_history variable ::pdwindow::history_position proc ::pdwindow::eval_tclentry proc ::pdwindow::get_history proc ::pdwindow::validate_tcl proc ::pdwindow::create_tcl_entry
and the calls to frame .pdwindow.tcl -borderwidth 0 pack .pdwindow.tcl -side bottom -fill x in ::pdwindow::create_window
mfgsd IOhannes