You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/docs/plugin-communication.md
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -511,6 +511,24 @@ Please see the enum LangType for all possible values.
511
511
512
512
---
513
513
514
+
#### **NPPM_GETCURRENTCMDLINE**
515
+
*Get the Current Command Line string. (New to v8.4.2).
516
+
Users should call it with commandLineStr as NULL to get the required number of TCHAR (not including the terminating nul character),
517
+
allocate commandLineStr buffer with the return value + 1, then call it again to get the current command line string.*
518
+
519
+
**Parameters**:
520
+
521
+
*wParam [in]*
522
+
: size_t strLen
523
+
524
+
*lParam [out]*
525
+
: TCHAR * commandLineStr
526
+
527
+
**Return value**:
528
+
: Returns the number of TCHAR copied/to copy.
529
+
530
+
---
531
+
514
532
#### **NPPM_GETCURRENTCOLUMN**
515
533
*Retrieves the column of the caret.*
516
534
@@ -2066,6 +2084,17 @@ The general layout of the following notifications look like this
2066
2084
2067
2085
---
2068
2086
2087
+
#### **NPPN_CMDLINEPLUGINMSG**
2088
+
*To notify plugins that the new argument for plugins (via `-pluginMessage="YOUR_PLUGIN_ARGUMENT"` in [command line](../command-prompt/)) is available. (New to v8.4.2).*
2089
+
2090
+
**Fields:**
2091
+
2092
+
code: NPPN_CMDLINEPLUGINMSG
2093
+
hwndFrom: hwndNpp
2094
+
idFrom: pluginMessage, where pluginMessage is pointer of type wchar_t
2095
+
2096
+
---
2097
+
2069
2098
#### **NPPN_DARKMODECHANGED**
2070
2099
*To notify plugins that Dark Mode was changed (either enabled or disabled).
0 commit comments