GNOME Bugzilla – Bug 570304
TextEdit entry via Button Press and Hold
Last modified: 2009-02-06 15:43:25 UTC
Currently the mouse cannot be used (via click, double click, modified click) to edit text. A separate text edit tool is required. To improve this, a button press and hold functionality is proposed. To use: Select text with mouse button and hold for more than 1second. Text edit mode is then entered on the object. Other information:
Created attachment 127808 [details] [review] Initial patch for comments Here is an implementation of entering text edit mode via a "press and hold". Implemented a generic button_press_hold callback for all tools in disp_callbacks. Then added a button_press_hold implementation in modify_tool. Please try it out, and suggest improvements!
Thanks! Patch looks fine to me - except some whitespace/coding style issues, which I've corrected. One day I should document them ;-) (tabwidth of Dia is 8, etc.). 2009-02-06 Hans Breuer <hans@breuer.org> * app/disp_callbacks.c app/tool.h app/modify_tool.c : also allow TextEdit entry via Button Press and Hold - patch from Robert Young fixing bug #570304