Skip to content

Commit

Permalink
fix missing quote in {{<details>}} aside
Browse files Browse the repository at this point in the history
  • Loading branch information
pryrt authored Jun 24, 2024
1 parent 62d3008 commit ba9f971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/docs/plugin-communication.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ If you are writing your plugin in C++ or similar languages, you should just incl
When reading the `#define` for the various `NPPM_` constants, you need to notice that `NPPMSG` is defined as `(WM_USER + 1000)` near the top of the file, and you need to know that [`WM_USER`](https://learn.microsoft.com/en-us/windows/win32/winmsg/wm-user) is the Windows standard constant with a value of `0x0400` (1024). You may need to look up other `#define` values from elsewhere in the header file in order to fully resolve some of the values. For example, `#define NPPM_SAVEALLFILES (NPPMSG + 39)` is really the integer 1024 + 1000 + 39 = 2063, so that is the value you need to use when defining your version of the `NPPM_SAVEALLFILES` constant.
{{< /details >}}

{{< details "Aside: Internal Messages >}}
{{< details "Aside: Internal Messages" >}}
Please note: Notepad++ header files other than `Notepad_plus_msgs.h` may define constants for internal messages, indicated by `NPPM_INTERNAL_xxx`. If you are able to find such messages and understand how to use them, there is no way for Notepad++ to _prevent_ you from doing so; however, using internal messages is done **at your own risk**. Such internal messages are not part of the official plugin interface, are not publically documented, and can change behavior or even be completely removed, without any documentation or announcement; this could cause your plugin to crash Notepad++, and the Notepad++ developer is likely to add your plugin to the "Disabled" list if he gets complaints of crashes that are caused by your plugin. If you find there's an `NPPM_INTERNAL` message that you would like to use in your plugin, it is highly recommended that you put in an issue to request that the message be added to the public interface, and wait until it is public before .
{{< /details >}}

Expand Down

0 comments on commit ba9f971

Please sign in to comment.