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

change GetFilePath param from int to IntPtr #106

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

molsonkiko
Copy link
Contributor

Previously the GetFilePath method of NotepadPPGateway was unusable in 64-bit Notepad++ because it accepted an int parameter, but the buffer id (the IdFrom parameter of the NPPN_FILEBEFORECLOSE notification) could be 64-bit.

Also added a new plugin command to Demo.cs illustrating how tracking the NPPN_FILEBEFORECLOSE notification allows the plugin to keep a list of all the filenames that were closed this session.

Previously the GetFilePath method of NotepadPPGateway
was unusable in 64-bit Notepad++ because it accepted an
int parameter, but the buffer id (the IdFrom parameter of
the NPPN_FILEBEFORECLOSE notification) could be 64-bit.

Also added a new plugin command to Demo.cs illustrating how
tracking the NPPN_FILEBEFORECLOSE notification allows
the plugin to keep a list of all the filenames that were
closed this session.
@kbilsted
Copy link
Owner

merge conflict

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants