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
- Fixed bug 3040970 - PromptDialog crashed if a message was sent before WM_INITDIALOG
- Fixed bug 3040902 - pyreplace and friends when searching for "$".
- Added startLine, endLine and startPosition, endPosition to py(ml)replace/search
- Fixed bug 3040972 - ConsoleDialog crashed on empty history due to uninitialised iterator
(could not reproduce, but empty iterator could cause the issue)
- Added changes to documentation.
- Changed download links to Sourceforge on website.
.def("write", &ScintillaWrapper::AddText, "Add text to the document at current position (alias for addText).")
23
24
.def("callback", &ScintillaWrapper::callback, "Registers a callback to a Python function when a Scintilla event occurs. e.g. editor.callback(my_function, [ScintillaNotification.CHARADDED])")
24
25
.def("__getitem__", &ScintillaWrapper::GetLine, "Gets a line from the given (zero based) index")
@@ -38,16 +39,24 @@ BOOST_PYTHON_MODULE(Npp)
38
39
.def("replace", &ScintillaWrapper::replaceNoFlags, "Simple search and replace. replace(searchFor, replaceWith[, flags]) where flags are members of Npp.FIND")
39
40
.def("rereplace", &ScintillaWrapper::rereplace, "Simple regular expression search and replace (using Notepad++/Scintilla regular expressions). rereplace(searchExpression, replaceString[, flags]) Use Npp.FIND for the flags")
40
41
.def("rereplace", &ScintillaWrapper::rereplaceNoFlags, "Simple regular expression search and replace (using Notepad++/Scintilla regular expressions). rereplace(searchExpression, replaceString[, flags]) Use Npp.FIND for the flags")
41
-
.def("pyreplace", &ScintillaWrapper::pyreplace, "Python regular expression search and replace. Full support for Python regular expressions. Works line-by-line, so does not require significant memory overhead, however multiline regular expressions won't work (see pymlreplace). editor.pyreplace(search, replace[, count[, flags]]). Uses the python re.sub() method.")
42
-
.def("pyreplace", &ScintillaWrapper::pyreplaceNoFlags, "Python regular expression search and replace. Full support for Python regular expressions. Works line-by-line, so does not require significant memory overhead, however multiline regular expressions won't work (see pymlreplace). editor.pyreplace(search, replace[, count[, flags]]). Uses the python re.sub() method.")
43
-
.def("pyreplace", &ScintillaWrapper::pyreplaceNoFlagsNoCount, "Python regular expression search and replace. Full support for Python regular expressions. Works line-by-line, so does not require significant memory overhead, however multiline regular expressions won't work (see pymlreplace). editor.pyreplace(search, replace[, count[, flags]]). Uses the python re.sub() method.")
44
-
.def("pymlreplace", &ScintillaWrapper::pymlreplace, "Python Multiline regular expression search and replace - works for multiline regular expressions, but makes at least 2 copies of the entire document, so is unsuitable for large documents. Note that re.MULTILINE is specified in the flags automatically. editor.pymlreplace(search, replace[, count[, flags]]). Uses the python re.sub() method.")
45
-
.def("pymlreplace", &ScintillaWrapper::pymlreplaceNoFlags, "Python Multiline regular expression search and replace - works for multiline regular expressions, but makes at least 2 copies of the entire document, so is unsuitable for large documents. Note that re.MULTILINE is specified in the flags automatically. editor.pymlreplace(search, replace[, count[, flags]]). Uses the python re.sub() method.")
46
-
.def("pymlreplace", &ScintillaWrapper::pymlreplaceNoFlagsNoCount, "Python Multiline regular expression search and replace - works for multiline regular expressions, but makes at least 2 copies of the entire document, so is unsuitable for large documents. Note that re.MULTILINE is specified in the flags automatically. editor.pymlreplace(search, replace[, count[, flags]]). Uses the python re.sub() method.")
47
-
.def("pysearch", &ScintillaWrapper::pysearch, "Python regular expression search, calling a function for each match found. The function gets called with the (zero indexed) line number, and the match object. \npysearch(expression, function[, flags])")
48
-
.def("pysearch", &ScintillaWrapper::pysearchNoFlags, "Python regular expression search, calling a function for each match found. The function gets called with the (zero indexed) line number, and the match object. \npysearch(expression, function[, flags])")
49
-
.def("pymlsearch", &ScintillaWrapper::pymlsearch, "Python multiline regular expression search, calling a function for each match found. The function gets called with the (zero indexed) line number, and the match object. \nNote that this runs the search on the entire text, and therefore makes at least 2 copies of the entire document, therefore it may not be suitable for large documents.\n pymlsearch(expression, function[, flags])")
50
-
.def("pymlsearch", &ScintillaWrapper::pymlsearchNoFlags, "Python multiline regular expression search, calling a function for each match found. The function gets called with the (zero indexed) line number, and the match object. \nNote that this runs the search on the entire text, and therefore makes at least 2 copies of the entire document, therefore it may not be suitable for large documents.\n pymlsearch(expression, function[, flags])")
42
+
.def("pyreplace", &ScintillaWrapper::pyreplace, "Python regular expression search and replace. Full support for Python regular expressions. Works line-by-line, so does not require significant memory overhead, however multiline regular expressions won't work (see pymlreplace). editor.pyreplace(search, replace[, count[, flags[, startLine[, endLine]]]]). Uses the python re.sub() method.")
43
+
.def("pyreplace", &ScintillaWrapper::pyreplaceNoFlags, "Python regular expression search and replace. Full support for Python regular expressions. Works line-by-line, so does not require significant memory overhead, however multiline regular expressions won't work (see pymlreplace). editor.pyreplace(search, replace[, count[, flags[, startLine[, endLine]]]]). Uses the python re.sub() method.")
44
+
.def("pyreplace", &ScintillaWrapper::pyreplaceNoFlagsNoCount, "Python regular expression search and replace. Full support for Python regular expressions. Works line-by-line, so does not require significant memory overhead, however multiline regular expressions won't work (see pymlreplace). editor.pyreplace(search, replace[, count[, flags[, startLine[, endLine]]]]). Uses the python re.sub() method.")
45
+
.def("pyreplace", &ScintillaWrapper::pyreplaceNoStartEnd, "Python regular expression search and replace. Full support for Python regular expressions. Works line-by-line, so does not require significant memory overhead, however multiline regular expressions won't work (see pymlreplace). editor.pyreplace(search, replace[, count[, flags[, startLine[, endLine]]]]). Uses the python re.sub() method.")
46
+
.def("pyreplace", &ScintillaWrapper::pyreplaceNoEnd, "Python regular expression search and replace. Full support for Python regular expressions. Works line-by-line, so does not require significant memory overhead, however multiline regular expressions won't work (see pymlreplace). editor.pyreplace(search, replace[, count[, flags[, startLine[, endLine]]]]). Uses the python re.sub() method.")
47
+
.def("pymlreplace", &ScintillaWrapper::pymlreplace, "Python Multiline regular expression search and replace - works for multiline regular expressions, but makes at least 2 copies of the entire document, so is unsuitable for large documents. Note that re.MULTILINE is specified in the flags automatically. editor.pymlreplace(search, replace[, count[, flags[, startPosition[, endPosition]]]]). Uses the python re.sub() method.")
48
+
.def("pymlreplace", &ScintillaWrapper::pymlreplaceNoFlags, "Python Multiline regular expression search and replace - works for multiline regular expressions, but makes at least 2 copies of the entire document, so is unsuitable for large documents. Note that re.MULTILINE is specified in the flags automatically. editor.pymlreplace(search, replace[, count[, flags[, startPosition[, endPosition]]]]). Uses the python re.sub() method.")
49
+
.def("pymlreplace", &ScintillaWrapper::pymlreplaceNoFlagsNoCount, "Python Multiline regular expression search and replace - works for multiline regular expressions, but makes at least 2 copies of the entire document, so is unsuitable for large documents. Note that re.MULTILINE is specified in the flags automatically. editor.pymlreplace(search, replace[, count[, flags[, startPosition[, endPosition]]]]). Uses the python re.sub() method.")
50
+
.def("pymlreplace", &ScintillaWrapper::pymlreplaceNoStartEnd, "Python Multiline regular expression search and replace - works for multiline regular expressions, but makes at least 2 copies of the entire document, so is unsuitable for large documents. Note that re.MULTILINE is specified in the flags automatically. editor.pymlreplace(search, replace[, count[, flags[, startPosition[, endPosition]]]]). Uses the python re.sub() method.")
51
+
.def("pymlreplace", &ScintillaWrapper::pymlreplaceNoEnd, "Python Multiline regular expression search and replace - works for multiline regular expressions, but makes at least 2 copies of the entire document, so is unsuitable for large documents. Note that re.MULTILINE is specified in the flags automatically. editor.pymlreplace(search, replace[, count[, flags[, startPosition[, endPosition]]]]). Uses the python re.sub() method.")
52
+
.def("pysearch", &ScintillaWrapper::pysearch, "Python regular expression search, calling a function for each match found. The function gets called with the (zero indexed) line number, and the match object. \npysearch(expression, function[, flags[, startLine[, endLine]]])")
53
+
.def("pysearch", &ScintillaWrapper::pysearchNoFlags, "Python regular expression search, calling a function for each match found. The function gets called with the (zero indexed) line number, and the match object. \npysearch(expression, function[, flags[, startLine[, endLine]]])")
54
+
.def("pysearch", &ScintillaWrapper::pysearchNoStartEnd, "Python regular expression search, calling a function for each match found. The function gets called with the (zero indexed) line number, and the match object. \npysearch(expression, function[, flags[, startLine[, endLine]]])")
55
+
.def("pysearch", &ScintillaWrapper::pysearchNoEnd, "Python regular expression search, calling a function for each match found. The function gets called with the (zero indexed) line number, and the match object. \npysearch(expression, function[, flags[, startLine[, endLine]]])")
56
+
.def("pymlsearch", &ScintillaWrapper::pymlsearch, "Python multiline regular expression search, calling a function for each match found. The function gets called with the (zero indexed) line number, and the match object. \nNote that this runs the search on the entire text, and therefore makes at least 2 copies of the entire document, therefore it may not be suitable for large documents.\n pymlsearch(expression, function[, flags[, startPosition[, endPosition]]])")
57
+
.def("pymlsearch", &ScintillaWrapper::pymlsearchNoFlags, "Python multiline regular expression search, calling a function for each match found. The function gets called with the (zero indexed) line number, and the match object. \nNote that this runs the search on the entire text, and therefore makes at least 2 copies of the entire document, therefore it may not be suitable for large documents.\n pymlsearch(expression, function[, flags[, startPosition[, endPosition]]])")
58
+
.def("pymlsearch", &ScintillaWrapper::pymlsearchNoStartEnd, "Python multiline regular expression search, calling a function for each match found. The function gets called with the (zero indexed) line number, and the match object. \nNote that this runs the search on the entire text, and therefore makes at least 2 copies of the entire document, therefore it may not be suitable for large documents.\n pymlsearch(expression, function[, flags[, startPosition[, endPosition]]])")
59
+
.def("pymlsearch", &ScintillaWrapper::pymlsearchNoEnd, "Python multiline regular expression search, calling a function for each match found. The function gets called with the (zero indexed) line number, and the match object. \nNote that this runs the search on the entire text, and therefore makes at least 2 copies of the entire document, therefore it may not be suitable for large documents.\n pymlsearch(expression, function[, flags[, startPosition[, endPosition]]])")
51
60
/* Between the autogenerated comments is, surprise, autogenerated
52
61
* Do not edit the contents between these comments,
53
62
* edit "CreateWrapper.py" instead, which does the generation
0 commit comments