Skip to content

Commit

Permalink
Add support for NPP v8.3+
Browse files Browse the repository at this point in the history
  • Loading branch information
syvilnet committed Nov 3, 2022
1 parent 8c251ad commit 1bf0a9c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 15 deletions.
4 changes: 2 additions & 2 deletions src/Dialogs/AboutDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ INT_PTR CALLBACK abtDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPara
DestroyWindow(hwndDlg);
return true;
case IDC_GITHUB:
ShellExecute(hwndDlg, TEXT("open"), TEXT("https://github.com/dail8859/DoxyIt/"), NULL, NULL, SW_SHOWNORMAL);
ShellExecute(hwndDlg, TEXT("open"), TEXT("https://github.com/syvilnet/DoxyIt/"), NULL, NULL, SW_SHOWNORMAL);
return true;
case IDC_README:
ShellExecute(hwndDlg, TEXT("open"), TEXT("https://github.com/dail8859/DoxyIt/blob/v") VERSION_TEXT TEXT("/README.md"), NULL, NULL, SW_SHOWNORMAL);
ShellExecute(hwndDlg, TEXT("open"), TEXT("https://github.com/syvilnet/DoxyIt/blob/v") VERSION_TEXT TEXT("/README.md"), NULL, NULL, SW_SHOWNORMAL);
return true;
}
case WM_DESTROY:
Expand Down
17 changes: 9 additions & 8 deletions src/Dialogs/resource.rc
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,19 @@
// Dialog resources
//
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_ABOUTDLG DIALOGEX 0, 0, 223, 130
IDD_ABOUTDLG DIALOGEX 0, 0, 223, 150
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_BORDER | WS_SYSMENU
FONT 8, "MS Shell Dlg", 0, 0, 0x1
{
PUSHBUTTON "Close", IDOK, 86, 109, 50, 14
GROUPBOX "", IDC_VERSION, 10, 9, 201, 93, BS_CENTER
PUSHBUTTON "Close", IDOK, 86, 129, 50, 14
GROUPBOX "", IDC_VERSION, 10, 9, 195, 113, BS_CENTER
LTEXT "Author : Justin Dailey <[email protected]>", IDC_STATIC, 30, 26, 180, 8
LTEXT "The DoxyIt code is hosted on", IDC_STATIC, 30, 43, 180, 8
LTEXT "GitHub", IDC_GITHUB, 127, 43, 22, 8, SS_LEFT | SS_NOTIFY, WS_EX_LEFT
LTEXT "For detailed usage, view the", IDC_STATIC, 30, 62, 110, 8, SS_LEFT
LTEXT "readme", IDC_README, 124, 62, 24, 8, SS_LEFT | SS_NOTIFY, WS_EX_LEFT
LTEXT "This code is licensed under GPLv2", IDC_STATIC, 30, 80, 111, 8, SS_LEFT
LTEXT "Forked By : syvilNet <[email protected]>", IDC_STATIC, 30, 43, 180, 8
LTEXT "The DoxyIt code is hosted on", IDC_STATIC, 30, 62, 180, 8
LTEXT "GitHub", IDC_GITHUB, 127, 62, 22, 8, SS_LEFT | SS_NOTIFY, WS_EX_LEFT
LTEXT "For detailed usage, view the", IDC_STATIC, 30, 80, 110, 8, SS_LEFT
LTEXT "readme", IDC_README, 124, 80, 24, 8, SS_LEFT | SS_NOTIFY, WS_EX_LEFT
LTEXT "This code is licensed under GPLv2", IDC_STATIC, 30, 98, 111, 8, SS_LEFT
}


Expand Down
2 changes: 1 addition & 1 deletion src/Npp/Sci_Position.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ typedef ptrdiff_t Sci_Position;
typedef size_t Sci_PositionU;

// For Sci_CharacterRange which is defined as long to be compatible with Win32 CHARRANGE
typedef long Sci_PositionCR;
typedef intptr_t Sci_PositionCR;

#ifdef _WIN32
#define SCI_METHOD __stdcall
Expand Down
8 changes: 4 additions & 4 deletions src/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

#define VERSION_NUM 0,4,4,0
#define VERSION_LINEAR 440
#define VERSION_LINEAR_TEXT TEXT("440")
#define VERSION_TEXT TEXT("0.4.3") // This must match the tag pushed on the server minus the "v"
#define VERSION_NUM 0,4,5,0
#define VERSION_LINEAR 450
#define VERSION_LINEAR_TEXT TEXT("450")
#define VERSION_TEXT TEXT("0.4.5") // This must match the tag pushed on the server minus the "v"
#define VERSION_STAGE TEXT("") // "alpha", "beta", ""

0 comments on commit 1bf0a9c

Please sign in to comment.