diff --git a/PowerEditor/src/ScitillaComponent/GoToLineDlg.cpp b/PowerEditor/src/ScitillaComponent/GoToLineDlg.cpp index a665553b..55375f06 100644 --- a/PowerEditor/src/ScitillaComponent/GoToLineDlg.cpp +++ b/PowerEditor/src/ScitillaComponent/GoToLineDlg.cpp @@ -67,11 +67,19 @@ BOOL CALLBACK GoToLineDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM) } // find hotspots + /* NMHDR nmhdr; nmhdr.code = SCN_PAINTED; nmhdr.hwndFrom = _hSelf; nmhdr.idFrom = ::GetDlgCtrlID(nmhdr.hwndFrom); ::SendMessage(_hParent, WM_NOTIFY, (WPARAM)LINKTRIGGERED, (LPARAM)&nmhdr); + */ + + SCNotification notification = {}; + notification.nmhdr.code = SCN_PAINTED; + notification.nmhdr.hwndFrom = _hSelf; + notification.nmhdr.idFrom = ::GetDlgCtrlID(_hSelf); + ::SendMessage(_hParent, WM_NOTIFY, (WPARAM)LINKTRIGGERED, (LPARAM)¬ification); (*_ppEditView)->getFocus(); return TRUE;