On Mon, 30 Nov 2009 11:47:39 +0000, Liviu wrote: Hey,
>> But be sure that this can be dangerous when you select some arbitary >> text, by accident hit the keybinding to send the selection to the VTE >> and it gets executed. If you boom away your system, you are on your >> own, you can't blame Geany :). >> >Would it make sense to implement an additional safety net? By default, >on start-up, the terminal tab is hidden (inactive, not focused). Geany >could always use the safe-send selection mechanism when the vte is >hidden, and use unsafe-send only when vte is visible and >send_selection_unsafe=true. Alternatively, Geany could prevent the >user from sending a selection while the vte is not visible, and >display a status message. I think this is way too complicated and non-intuitive. Having that option defaulting to false and force the users to explicitly turn it on is good enough. Anyway, if anyone wants to implement this, clean patches would be ok. >> I think this is too heavy for Geany itself, but could and should be >> easily implemented as a plugin. You just need to do it or find >> someone who is willing to do :). >> >What would be a good place to start looking into developing such a >plug-in? The very first steps are described in the plugin howto: http://geany.org/manual/reference/howto.html After that, the general plugin API docs at http://geany.org/manual/reference/ should help. And in case of any questions, just ask. Regards, Enrico -- Get my GPG key from http://www.uvena.de/pub.asc
pgpypo4ZcCm2z.pgp
Description: PGP signature
_______________________________________________ Geany mailing list [email protected] http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
