Skip to content

Commit 50a62b4

Browse files
authored
rename to "Plugin Communication"
"Plugin Development: Messages and Notifications" was unwieldy. The suggested "Plugin Development" implied the page was about all aspects of developing a plugin, which this page isn't. Since messages and notifications are used for communication with Notepad++, and primarily (though not solely) used by plugins, I hope "Plugin Communication" is a reasonable compromise between the differing points of view -- keeping the title short, and about "plugins", but without the extra scope of "Plugin Development".
1 parent b49fb41 commit 50a62b4

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

content/docs/messages-notifications.md renamed to content/docs/plugin-communication.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
---
2-
title: Plugin Development: Messages and Notifications
3-
linktitle: messages-notifications
2+
title: Plugin Communication
3+
linktitle: plugin-communication
44
weight: 112
55
---
66

7-
## Plugin Development: Messages and Notifications
7+
## Plugin Communication: Messages and Notifications
88

9-
When writing a [plugin](../plugins/), or when editing [macros](../macros/), or when using one of the scripting plugins, you need to communicate with the Notepad++ application, to get information from it or instruct it to do some task. This is done using messages and notifications.
9+
When writing a [plugin](../plugins/), you need to communicate with the Notepad++ application, to get information from it or instruct it to do some task. This is done using messages and notifications.
1010

11-
## Why messages <i>and</i> notifications?
11+
These same techniques can also be used for editing [macros](../macros/) (some of which use messages to control Notepad++), or when using one of the scripting plugins (which effectively make your script a mini-plugin).
1212

13-
Basically, a message may have a return value, and is usually thought as a query, though it can also command actions inside Notepad++. A notification simply informs of some event, and is more usually thought as a command. However, a notification is sent using a Windows message, [`WM_NOTIFY`](https://docs.microsoft.com/en-us/windows/win32/controls/wm-notify), so the interface is similar.
13+
### Why both messages <i>and</i> notifications?
14+
15+
Basically, a message may have a return value, and is usually thought as a query, though it can also command actions inside Notepad++. A notification simply informs of some event, and is more usually thought as a command. However, a notification is sent using a Windows message, [`WM_NOTIFY`](https://docs.microsoft.com/en-us/windows/win32/controls/wm-notify), so the interface is similar. The extra content of the messages and notifications are different from each other, and are described in their respective sections, below.
1416

1517
## Notepad++ messages
1618

0 commit comments

Comments
 (0)