mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-14 21:09:05 +08:00
+ enhanc comments by useful web links
This commit is contained in:
parent
990d826570
commit
b23e5db63d
@ -10,10 +10,14 @@
|
||||
// Author: Ê·ÊÙΰ (sswater shi)
|
||||
// sswater@gmail.com
|
||||
//
|
||||
// $Revision $
|
||||
//
|
||||
// + adaption for 64-bit usage: "basetsd : INT_PTR" replaces int-pointer arithmetic and buffer indexes
|
||||
// + Cppcheck cleanup
|
||||
//
|
||||
// Good Overview:
|
||||
// https://www.regular-expressions.info/
|
||||
//
|
||||
|
||||
|
||||
|
||||
#ifndef __DEELX_REGEXP64__H__
|
||||
#define __DEELX_REGEXP64__H__
|
||||
|
||||
@ -5087,6 +5087,9 @@ char* __fastcall EditGetReplaceString(HWND hwnd, LPCEDITFINDREPLACE lpefr, int*
|
||||
//
|
||||
BOOL EditReplace(HWND hwnd, LPCEDITFINDREPLACE lpefr) {
|
||||
|
||||
// reject to replace zero-length matches -> EditPaste()
|
||||
// see also: https://www.regular-expressions.info/zerolength.html
|
||||
//
|
||||
if ((BOOL)SendMessage(hwnd, SCI_GETSELECTIONEMPTY, 0, 0))
|
||||
return EditFindNext(hwnd, lpefr, FALSE);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user