Menu

#25 More callbacks

open
nobody
None
5
2009-10-08
2009-10-08
Peter Law
No

The change_callback would be really useful if it were actually called when the file contents changed, rather than mimicing the html onchange functionality.

While the existing fucntionality is not something I'm suggesting should be removed it would be nice to see another callback for when the code actually changes, and for the key{up,down,press} events on the textarea outside of the plugin format.

(I'm currently looking into the feasibility of these.)

Discussion

  • Peter Law

    Peter Law - 2009-10-10

    This patch adds functionality to editArea exposing the onkeyup and onkeydown callbacks of the textarea

     
  • Peter Law

    Peter Law - 2009-10-17

    I've tested the patch I added previously under the following browsers under Windows, and it works in all of them:
    Chrome: 3.0.195.25, 3.0.195.27
    Firefox 2.0.0.20, 3.0.10, 3.0.14, 3.5.1, 3.5.3
    Internet Explorer 6.0.2900.5512, 8.0.6001.18828 (normal mode and compatibility mode)
    Opera 9.64, 10.00
    Safari 3.2.2, 4.0.3

     

Log in to post a comment.