Add lt and gt chars to isWordChar check.
Fix small regression with hilite and purge. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@178 f5eea248-9336-0410-98b8-ebc06183d4e3pull/343/head^2
parent
65bb6ceb7f
commit
4dd8870891
|
@ -727,6 +727,8 @@ private:
|
|||
case '}':
|
||||
case '|':
|
||||
case '=':
|
||||
case '<':
|
||||
case '>':
|
||||
case '\\':
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -925,7 +925,7 @@ int FindReplaceDlg::processAll(ProcessOperation op, const char *txt2find, const
|
|||
{
|
||||
int nbReplaced = 0;
|
||||
|
||||
if (!isCreated())
|
||||
if (!isCreated() && !txt2find)
|
||||
return nbReplaced;
|
||||
if ((op == ProcessReplaceAll) && (*_ppEditView)->getCurrentBuffer().isReadOnly())
|
||||
return nbReplaced;
|
||||
|
@ -1020,17 +1020,12 @@ int FindReplaceDlg::processAll(ProcessOperation op, const char *txt2find, const
|
|||
|
||||
if (op == ProcessMarkAll) //if marking, check if purging is needed
|
||||
{
|
||||
if ((_doStyleFoundToken) && (_doPurge))
|
||||
if (_doPurge) {
|
||||
if (_doMarkLine)
|
||||
(*_ppEditView)->execute(SCI_MARKERDELETEALL, MARK_BOOKMARK);
|
||||
|
||||
if (_doStyleFoundToken)
|
||||
{
|
||||
(*_ppEditView)->clearIndicator(SCE_UNIVERSAL_FOUND_STYLE);
|
||||
}
|
||||
if (_doStyleFoundToken)
|
||||
{
|
||||
(*_ppEditView)->execute(SCI_SETLEXER, SCLEX_NULL);
|
||||
(*_ppEditView)->clearIndicator(SCE_UNIVERSAL_FOUND_STYLE);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue