This commit is contained in:
royqh1979@gmail.com 2021-11-22 15:50:28 +08:00
parent b034d27eb9
commit 2763ef1c60
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ Version 0.9.2 For Dev-C++ 7 Beta
- fix: problem set & problem views not correctly hidden when disabled in the executor / problem set options - fix: problem set & problem views not correctly hidden when disabled in the executor / problem set options
- fix: executor / problem set options not correctly saved - fix: executor / problem set options not correctly saved
- fix: option "Move caret to the first non-space char in the current line when press HOME key" dosen't work fine. - fix: option "Move caret to the first non-space char in the current line when press HOME key" dosen't work fine.
- fix: ctrl+left can't correctly move to the beginning of the last word
Version 0.9.1 For Dev-C++ 7 Beta Version 0.9.1 For Dev-C++ 7 Beta
- enhancement: code completion suggestion for "__func__" variable - enhancement: code completion suggestion for "__func__" variable

View File

@ -1375,7 +1375,7 @@ BufferCoord SynEdit::prevWordPosEx(const BufferCoord &XY)
} }
} else { } else {
// if previous char is a "whitespace" search for the last IdentChar // if previous char is a "whitespace" search for the last IdentChar
if (Line[CX - 2].isSpace()) if (!isWordChar(Line[CX - 2]))
CX = StrRScanForWordChar(Line, CX - 1); CX = StrRScanForWordChar(Line, CX - 1);
if (CX > 0) // search for the first IdentChar of this "word" if (CX > 0) // search for the first IdentChar of this "word"
CX = StrRScanForNonWordChar(Line, CX - 1)+1; CX = StrRScanForNonWordChar(Line, CX - 1)+1;