diff --git a/docs/ExtendingTheIDE.txt b/docs/ExtendingTheIDE.txt index 8134ea54f2..c2c3d2e585 100644 --- a/docs/ExtendingTheIDE.txt +++ b/docs/ExtendingTheIDE.txt @@ -18,6 +18,7 @@ Property Editors Experts These are all other types. + ------------------------------------------------------------------------------- There are two possibilities to add your own plugins to Lazarus: @@ -26,7 +27,6 @@ There are two possibilities to add your own plugins to Lazarus: 2. Extend the lazarus code, and send your cvs diff to the lazarus mailing list. - ------------------------------------------------------------------------------- Writing components: @@ -52,10 +52,11 @@ Hint: see propedits.pp for examples ------------------------------------------------------------------------------- Register event handlers -There are several events in the IDE, where plugins can add their own handlers. -In propedits.pp there is a GlobalDesignHook object, maintains several events -for designing. Each event calls a list of handlers. The default handlers are -added by the IDE. You can add your own handlers with the AddHandlerXXX and +There are several events in the IDE, for which plugins can add their own +handlers. +In propedits.pp there is a GlobalDesignHook object, which maintains several +events for designing. Each event calls a list of handlers. The default handlers +are added by the IDE. You can add your own handlers with the AddHandlerXXX and RemoveHandlerXXX methods. They will be called before the default handlers. Examples: