sieukrem / jn-npp-plugin

Plugin for Notepad++ allowing you to automate some tasks using JavaScript
https://github.com/sieukrem/jn-npp-plugin/wiki
110 stars 24 forks source link

removeListener #40

Closed lollita closed 8 years ago

lollita commented 8 years ago

Use GlobalListener.addListener(yoursCfg); to add new event listener and GlobalListener.removeListener(yoursCfg); to remove your event listener

but i obtain a method not supported with removeListener.

sieukrem commented 8 years ago

GlobalListener is a wrapper written in Javascript. You will find it in start.js. You can implement missed method there

lollita commented 8 years ago

In line 7-8 of start.js you write "Use ... GlobalListener.removeListener(yoursCfg); to remove your event listener" but removeListener is missing. So I think you should add the removeListener method or remove the line 8.

sieukrem commented 8 years ago

Never used - never tested - never implemented ;-)