[NEW_FEATURE] Add the capacity (behaviour) of keeping line highlighting even when Notepad++ loss its focus.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@143 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
7d950fe5d8
commit
88edc71a7d
@ -4225,7 +4225,13 @@ void Notepad_plus::checkModifiedDocument()
|
||||
pScintillaArray[j]->execute(SCI_SETREADONLY, FALSE);
|
||||
|
||||
reload(docBuf.getFileName());
|
||||
|
||||
/*
|
||||
//if (goToEOL)
|
||||
{
|
||||
int line = _pEditView->getNbLine();
|
||||
_pEditView->gotoLine(line);
|
||||
}
|
||||
*/
|
||||
if (pScintillaArray[j]->isCurrentBufReadOnly())
|
||||
pScintillaArray[j]->execute(SCI_SETREADONLY, TRUE);
|
||||
}
|
||||
@ -5916,6 +5922,9 @@ LRESULT Notepad_plus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa
|
||||
|
||||
_mainEditView.execute(SCI_SETCARETLINEVISIBLE, svp1._currentLineHilitingShow);
|
||||
_subEditView.execute(SCI_SETCARETLINEVISIBLE, svp2._currentLineHilitingShow);
|
||||
|
||||
_mainEditView.execute(SCI_SETCARETLINEVISIBLEALWAYS, true);
|
||||
_subEditView.execute(SCI_SETCARETLINEVISIBLEALWAYS, true);
|
||||
|
||||
_mainEditView.wrap(svp1._doWrap);
|
||||
_subEditView.wrap(svp2._doWrap);
|
||||
|
Loading…
Reference in New Issue
Block a user