[BROWSEUI] Follow-up of #3242 (6b6f971)

Recognize backslashes in Ctrl+Back.
CORE-1419
This commit is contained in:
Katayama Hirofumi MZ 2020-09-28 10:14:36 +09:00
parent 6b6f971939
commit 9812bce271

View file

@ -304,7 +304,8 @@ static void Edit_BackWord(HWND hwndEdit)
for (; 0 < iStart; --iStart)
{
if (IsCharSpaceW(pszText[iStart - 1]) && IsCharAlphaNumericW(pszText[iStart]))
if (pszText[iStart - 1] == L'\\' ||
(IsCharSpaceW(pszText[iStart - 1]) && IsCharAlphaNumericW(pszText[iStart])))
{
SendMessageW(hwndEdit, EM_SETSEL, iStart, iEnd);
SendMessageW(hwndEdit, EM_REPLACESEL, TRUE, (LPARAM)L"");