[BUG_FIXED] (Author: Andreas Jonsson) A regression fix for "Begin/End select" feature.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1121 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
419fd585d4
commit
82281c7d2d
|
@ -321,10 +321,8 @@ void Notepad_plus::command(int id)
|
||||||
|
|
||||||
case IDM_EDIT_BEGINENDSELECT:
|
case IDM_EDIT_BEGINENDSELECT:
|
||||||
{
|
{
|
||||||
if(_pEditView->beginEndSelectedIsStarted())
|
::CheckMenuItem(_mainMenuHandle, IDM_EDIT_BEGINENDSELECT, MF_BYCOMMAND | _pEditView->beginEndSelectedIsStarted()?MF_UNCHECKED:MF_CHECKED);
|
||||||
::CheckMenuItem(_mainMenuHandle, IDM_EDIT_BEGINENDSELECT, MF_BYCOMMAND | MF_UNCHECKED);
|
_pEditView->beginOrEndSelect();
|
||||||
else
|
|
||||||
::CheckMenuItem(_mainMenuHandle, IDM_EDIT_BEGINENDSELECT, MF_BYCOMMAND | MF_CHECKED);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue