a tentative implementation is here: https://github.com/OpenNingia/notepadqq/tree/plugins/
this is an hello world plugin:
({ name: "HelloWorld", init: function() { nqq.debug("init called"); nqq.addMenuItem("HelloWorld", this.hello_world); },
hello_world: function() { editor = nqq.create() text = nqq.prompt("Text", "EnterText", "Hello world!"); editor.append(text); } });
save this as helloworld.qs
and place it under ~/.config/notepadqq/scripts/
a tentative implementation is here: /github. com/OpenNingia/ notepadqq/ tree/plugins/
https:/
this is an hello world plugin:
({ em("HelloWorld" , this.hello_world);
name: "HelloWorld",
init: function()
{
nqq.debug("init called");
nqq.addMenuIt
},
hello_world: function() { append( text);
editor = nqq.create()
text = nqq.prompt("Text", "EnterText", "Hello world!");
editor.
}
});
save this as helloworld.qs
and place it under ~/.config/ notepadqq/ scripts/