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
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -804,6 +804,22 @@ Second call is sent with correctly allocated buffer to retrieve the language nam
804
804
805
805
---
806
806
807
+
#### **NPPM_GETLINENUMBERWIDTHMODE**
808
+
*Get line number margin width in dynamic width mode (LINENUMWIDTH_DYNAMIC) or constant width mode (LINENUMWIDTH_CONSTANT)*
809
+
810
+
**Parameters**:
811
+
812
+
*wParam [in]*
813
+
: int, must be zero.
814
+
815
+
*lParam [in]*
816
+
: int, must be zero.
817
+
818
+
**Return value**:
819
+
: Returns the line number margin width mode, either the LINENUMWIDTH_DYNAMIC or LINENUMWIDTH_CONSTANT value.
820
+
821
+
---
822
+
807
823
#### **NPPM_GETMENUHANDLE**
808
824
*Retrieves either the plugin or the main menu handle of Notepad++.*
809
825
@@ -1646,6 +1662,23 @@ If value is True adds an additional sunken edge style to the Scintilla window el
1646
1662
1647
1663
---
1648
1664
1665
+
#### **NPPM_SETLINENUMBERWIDTHMODE**
1666
+
*Set line number margin width in dynamic width mode (LINENUMWIDTH_DYNAMIC) or constant width mode (LINENUMWIDTH_CONSTANT).
1667
+
It may help some plugins to disable non-dynamic line number margins width to have a smoothly visual effect while vertical scrolling the content in Notepad++*
1668
+
1669
+
**Parameters**:
1670
+
1671
+
*wParam [in]*
1672
+
: int, must be zero.
1673
+
1674
+
*lParam [in]*
1675
+
: int widthMode, must be one of the values LINENUMWIDTH_DYNAMIC or LINENUMWIDTH_CONSTANT.
0 commit comments