NOTIFICATIONS

Help
John Byrne
2013-01-25
2013-01-25
  • John Byrne

    John Byrne - 2013-01-25

    Hi,

    Trying to define a callback for notifications but callback is never called.

    import Npp

    def handleCharAdded(args):
        Npp.console.write("Char="+args)

    notepad.callback(handleCharAdded, )

    Npp.console.show()
    Npp.console.write("logging keys")


    I have tried several other notification enums and the callback is never called.

    Using Notepad++ 6.2.3

    Thanks

     
  • Dave Brotherstone

    For scintilla notifications you need to use editor.callback.  notepad.callback uses the NOTIFICATION enum.

    Dave

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks