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
- Fix bug with console.show()
- Regenerate for Scintilla 2.12 (as per N++ 5.7)
- Add editor1 and editor2 objects
- Fix bug with pymlreplace
- Temporary download locations
- scripts dir added (Samples and standard startup.py)
Copy file name to clipboardExpand all lines: PythonScript/src/NotepadPython.cpp
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,7 @@ void export_notepad()
52
52
.def("closeAllButCurrent", &NotepadPlusWrapper::closeAllButCurrentDocument, "Closes all but the currently active document")
53
53
.def("reloadCurrentDocument", &NotepadPlusWrapper::reloadCurrentDocument, "Reloads the current document")
54
54
.def("getCurrentFilename", &NotepadPlusWrapper::getCurrentFilename, "Gets the filename of the active document")
55
+
.def("getBufferFilename", &NotepadPlusWrapper::getBufferFilename, "Gets the filename of the given buffer ID")
55
56
.def("activateBufferID", &NotepadPlusWrapper::activateBufferID, "Activates the given bufferID")
56
57
.def("messageBox", &NotepadPlusWrapper::messageBox, "Displays a message box. messageBox(message, title, flags).\nFlags can be 0 for a standard 'OK' message box, or a combination of MessageBoxFlags")
57
58
.def("prompt", &NotepadPlusWrapper::promptDefault, "Prompts the user for some text. enteredText = prompt(prompt, title[, defaultText])")
0 commit comments