mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 12:04:51 +00:00
Recognize backslashes in Ctrl+Back. CORE-1419
This commit is contained in:
parent
6b6f971939
commit
9812bce271
1 changed files with 2 additions and 1 deletions
|
@ -304,7 +304,8 @@ static void Edit_BackWord(HWND hwndEdit)
|
||||||
|
|
||||||
for (; 0 < iStart; --iStart)
|
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_SETSEL, iStart, iEnd);
|
||||||
SendMessageW(hwndEdit, EM_REPLACESEL, TRUE, (LPARAM)L"");
|
SendMessageW(hwndEdit, EM_REPLACESEL, TRUE, (LPARAM)L"");
|
||||||
|
|
Loading…
Reference in a new issue