diff options
author | Neil <nyamatongwe@gmail.com> | 2018-04-13 08:48:23 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-04-13 08:48:23 +1000 |
commit | 908a138a46e39a39bb1a4aa1fcdab9a3432c0c3b (patch) | |
tree | 424f6e03ef3cef9de41b02de1108253a56b3bb55 /doc/ScintillaHistory.html | |
parent | 2c2e5fab6110b483459236ae1320decc5b138cbc (diff) | |
download | scintilla-mirror-908a138a46e39a39bb1a4aa1fcdab9a3432c0c3b.tar.gz |
Backport: Fix bug with regular expression searches failing to match at line start or end.
This was a work-around for infinite loops when replacing empty matches and this
is now the application's responsibility.
Backport of changeset 6683:bcae0331720b.
Diffstat (limited to 'doc/ScintillaHistory.html')
-rw-r--r-- | doc/ScintillaHistory.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index a0fc4f2b6..6e41fbb67 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -543,6 +543,14 @@ when text insertion followed by caret up or down. </li> <li> + Bugs fixed in regular expression searches in Scintilla where some matches did not occur in an + effort to avoid infinite loops when replacing on empty matches like "^" and "$". + Applications should always handle empty matches in a way that avoids infinite loops, commonly + by incrementing the search position after replacing an empty match. + SciTE fixes a bug where replacing "^" always matched on the first line even when it was an + "in selection" replace and the selection started after the line start. + </li> + <li> On Win32, a new file, ScintillaDLL.cxx, provides the DllMain function required for a stand-alone Scintilla DLL. Build and project files should include this file when producing a DLL and omit it when producing a static library or linking Scintilla statically. |