Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

Commit 071844a

Browse files
committed
Merge pull request #4 from dail8859/patch-1
Update NppPluginNETHelper.cs
2 parents 4c83dc8 + 8d477f3 commit 071844a

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

Visual Studio Project Template C#/NppPluginNETHelper.cs

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,15 +202,16 @@ public enum LangType
202202
L_ASM, L_DIFF, L_PROPS, L_PS, L_RUBY, L_SMALLTALK, L_VHDL, L_KIX, L_AU3,
203203
L_CAML, L_ADA, L_VERILOG, L_MATLAB, L_HASKELL, L_INNO, L_SEARCHRESULT,
204204
L_CMAKE, L_YAML, L_COBOL, L_GUI4CLI, L_D, L_POWERSHELL, L_R, L_JSP,
205-
L_COFFEESCRIPT,
205+
L_COFFEESCRIPT, L_JSON, L_JAVASCRIPT, L_FORTRAN_77,
206+
// Don't use L_JS, use L_JAVASCRIPT instead
206207
// The end of enumated language type, so it should be always at the end
207208
L_EXTERNAL
208209
}
209210

210211
public enum winVer
211212
{
212213
WV_UNKNOWN, WV_WIN32S, WV_95, WV_98, WV_ME, WV_NT, WV_W2K,
213-
WV_XP, WV_S2003, WV_XPX64, WV_VISTA, WV_WIN7, WV_WIN8, WV_WIN81
214+
WV_XP, WV_S2003, WV_XPX64, WV_VISTA, WV_WIN7, WV_WIN8, WV_WIN81, WV_WIN10
214215
}
215216

216217
[Flags]
@@ -569,6 +570,18 @@ public enum NppMsg : uint
569570
// INT NPPM_GETEDITORDEFAULTBACKGROUNDCOLOR(0, 0)
570571
// Return: current editor default background color. You should convert the returned value in COLORREF
571572

573+
NPPM_SETSMOOTHFONT = (NPPMSG + 92),
574+
// VOID NPPM_SETSMOOTHFONT(0, BOOL setSmoothFontOrNot)
575+
// Disable or enable smooth font drawing
576+
577+
NPPM_SETEDITORBORDEREDGE = (NPPMSG + 93),
578+
// VOID NPPM_SETEDITORBORDEREDGE(0, BOOL withEditorBorderEdgeOrNot)
579+
// Disable or enable border edge around the text area
580+
581+
NPPM_SAVEFILE = (NPPMSG + 94),
582+
// VOID NPPM_SAVEFILE(0, const TCHAR *fileNameToSave)
583+
// Save the file specified by fileNameToSave
584+
572585
RUNCOMMAND_USER = (0x400/*WM_USER*/ + 3000),
573586
NPPM_GETFULLCURRENTPATH = (RUNCOMMAND_USER + FULL_CURRENT_PATH),
574587
NPPM_GETCURRENTDIRECTORY = (RUNCOMMAND_USER + CURRENT_DIRECTORY),

0 commit comments

Comments
 (0)