Skip to content

Commit 3ee0411

Browse files
authored
Merge pull request #4 from superolmo/dev
Version 0.1.1.0
2 parents db41381 + e6c3326 commit 3ee0411

File tree

10 files changed

+745
-597
lines changed

10 files changed

+745
-597
lines changed

bin64/BigFiles.dll

6 KB
Binary file not shown.

src/BigFiles.aps

-78.5 KB
Binary file not shown.

src/BigFiles.cpp

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,13 @@ extern "C" __declspec(dllexport) void beNotified(SCNotification *notifyCode)
7272
commandMenuCleanUp();
7373
}
7474
break;
75+
7576
case NPPN_TBMODIFICATION:
7677
{
7778
commandRegToolbarIcons();
7879
}
7980
break;
81+
8082
case NPPN_FILECLOSED:
8183
{
8284
//When the FileClosed event happens, the Scintilla Buffer gets closed.
@@ -85,7 +87,17 @@ extern "C" __declspec(dllexport) void beNotified(SCNotification *notifyCode)
8587

8688
}
8789
break;
88-
90+
91+
case NPPN_BUFFERACTIVATED:
92+
{
93+
// This happens when a Scintilla Buffer tab has been activated
94+
int record_index = getBigFileRecordIndex((int)notifyCode->nmhdr.idFrom);
95+
if (record_index >= 0)
96+
updateStatusBar(record_index);
97+
98+
}
99+
break;
100+
89101
default:
90102
return;
91103
}

src/BigFiles.rc

Lines changed: 98 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1,98 @@
1-
// Microsoft Visual C++ generated resource script.
2-
//
3-
#include "resource.h"
4-
/////////////////////////////////////////////////////////////////////////////
5-
// English (United States) resources
6-
7-
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
8-
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
9-
#pragma code_page(1252)
10-
11-
/////////////////////////////////////////////////////////////////////////////
12-
//
13-
// Version
14-
//
15-
16-
VS_VERSION_INFO VERSIONINFO
17-
FILEVERSION 0,1,0,0
18-
PRODUCTVERSION 0,1,0,0
19-
FILEFLAGSMASK 0x3fL
20-
#ifdef _DEBUG
21-
FILEFLAGS 0x1L
22-
#else
23-
FILEFLAGS 0x0L
24-
#endif
25-
FILEOS 0x40004L
26-
FILETYPE 0x2L
27-
FILESUBTYPE 0x0L
28-
BEGIN
29-
BLOCK "StringFileInfo"
30-
BEGIN
31-
BLOCK "040904b0"
32-
BEGIN
33-
VALUE "CompanyName", "Claudio Olmi [email protected]"
34-
VALUE "FileDescription", "BigFiles Plugin for Notepad++ to read very large files"
35-
VALUE "FileVersion", "0.1"
36-
VALUE "InternalName", "BigFiles.dll"
37-
VALUE "LegalCopyright", "Copyright 2019 by Claudio Olmi"
38-
VALUE "OriginalFilename", "BigFiles.dll"
39-
VALUE "ProductName", "BigFiles Plugin"
40-
VALUE "ProductVersion", "0.1"
41-
END
42-
END
43-
BLOCK "VarFileInfo"
44-
BEGIN
45-
VALUE "Translation", 0x409, 1200
46-
END
47-
END
48-
49-
50-
#ifdef APSTUDIO_INVOKED
51-
/////////////////////////////////////////////////////////////////////////////
52-
//
53-
// TEXTINCLUDE
54-
//
55-
56-
1 TEXTINCLUDE
57-
BEGIN
58-
"resource.h\0"
59-
END
60-
61-
2 TEXTINCLUDE
62-
BEGIN
63-
"\0"
64-
END
65-
66-
3 TEXTINCLUDE
67-
BEGIN
68-
"\r\n"
69-
"\0"
70-
END
71-
72-
#endif // APSTUDIO_INVOKED
73-
74-
75-
/////////////////////////////////////////////////////////////////////////////
76-
//
77-
// Bitmap
78-
//
79-
80-
IDB_BITMAP1 BITMAP "back.bmp"
81-
82-
IDB_BITMAP2 BITMAP "forward.bmp"
83-
84-
#endif // English (United States) resources
85-
/////////////////////////////////////////////////////////////////////////////
86-
87-
88-
89-
#ifndef APSTUDIO_INVOKED
90-
/////////////////////////////////////////////////////////////////////////////
91-
//
92-
// Generated from the TEXTINCLUDE 3 resource.
93-
//
94-
95-
96-
/////////////////////////////////////////////////////////////////////////////
97-
#endif // not APSTUDIO_INVOKED
98-
1+
// Microsoft Visual C++ generated resource script.
2+
//
3+
#include "resource.h"
4+
/////////////////////////////////////////////////////////////////////////////
5+
// English (United States) resources
6+
7+
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
8+
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
9+
#pragma code_page(1252)
10+
11+
/////////////////////////////////////////////////////////////////////////////
12+
//
13+
// Version
14+
//
15+
16+
VS_VERSION_INFO VERSIONINFO
17+
FILEVERSION 0,1,1,0
18+
PRODUCTVERSION 0,1,1,0
19+
FILEFLAGSMASK 0x3fL
20+
#ifdef _DEBUG
21+
FILEFLAGS 0x1L
22+
#else
23+
FILEFLAGS 0x0L
24+
#endif
25+
FILEOS 0x40004L
26+
FILETYPE 0x2L
27+
FILESUBTYPE 0x0L
28+
BEGIN
29+
BLOCK "StringFileInfo"
30+
BEGIN
31+
BLOCK "040904b0"
32+
BEGIN
33+
VALUE "CompanyName", "Claudio Olmi [email protected]"
34+
VALUE "FileDescription", "BigFiles Plugin for Notepad++ to read very large files"
35+
VALUE "FileVersion", "0.1.1.0"
36+
VALUE "InternalName", "BigFiles.dll"
37+
VALUE "LegalCopyright", "Copyright 2019 by Claudio Olmi"
38+
VALUE "OriginalFilename", "BigFiles.dll"
39+
VALUE "ProductName", "BigFiles Plugin"
40+
VALUE "ProductVersion", "0.1.1.0"
41+
END
42+
END
43+
BLOCK "VarFileInfo"
44+
BEGIN
45+
VALUE "Translation", 0x409, 1200
46+
END
47+
END
48+
49+
50+
#ifdef APSTUDIO_INVOKED
51+
/////////////////////////////////////////////////////////////////////////////
52+
//
53+
// TEXTINCLUDE
54+
//
55+
56+
1 TEXTINCLUDE
57+
BEGIN
58+
"resource.h\0"
59+
END
60+
61+
2 TEXTINCLUDE
62+
BEGIN
63+
"\0"
64+
END
65+
66+
3 TEXTINCLUDE
67+
BEGIN
68+
"\r\n"
69+
"\0"
70+
END
71+
72+
#endif // APSTUDIO_INVOKED
73+
74+
75+
/////////////////////////////////////////////////////////////////////////////
76+
//
77+
// Bitmap
78+
//
79+
80+
IDB_BITMAP1 BITMAP "back.bmp"
81+
82+
IDB_BITMAP2 BITMAP "forward.bmp"
83+
84+
#endif // English (United States) resources
85+
/////////////////////////////////////////////////////////////////////////////
86+
87+
88+
89+
#ifndef APSTUDIO_INVOKED
90+
/////////////////////////////////////////////////////////////////////////////
91+
//
92+
// Generated from the TEXTINCLUDE 3 resource.
93+
//
94+
95+
96+
/////////////////////////////////////////////////////////////////////////////
97+
#endif // not APSTUDIO_INVOKED
98+

0 commit comments

Comments
 (0)