[Geany] Plugin Events Patch
blackdog
blackdog at xxxxx
Wed Aug 1 13:38:53 UTC 2007
Hi there
So here's a patch tested against r 1767 which adds a single onCharAdded
event for plugins that implement onCharAdded().
This is experimental and is really for you to comment on, if it's ok by
you I'll add the other events.
So for example my neko plugin looks like this ...
void onCharAdded(ScintillaObject *sci,char c) {
printf("nice one %c\n",c);
switch(c) {
case '(': case '.':
executeUtil("process");
break;
}
}
Cheers
bd.
--
http://www.blackdog-haxe.com/
"It is no measure of health to be well adjusted to a profoundly sick
society." --Jiddu Krishnamurti
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plugin_event1.diff
Type: text/x-patch
Size: 3584 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20070801/4b745640/attachment.bin>
More information about the Users
mailing list