Browse Source

[TUNE] Tune isWordChar() function for smart highlighting feature.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@179 f5eea248-9336-0410-98b8-ebc06183d4e3
remotes/patch_testing@481
Don Ho 17 years ago
parent
commit
76b544db63
  1. 8
      PowerEditor/src/Notepad_plus.h
  2. 1
      PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp

8
PowerEditor/src/Notepad_plus.h

@ -706,6 +706,11 @@ private:
case '\n':
case '\r':
case '.':
case ',':
case '?':
case ';':
case ':':
case '!':
case '(':
case ')':
case '[':
@ -714,9 +719,8 @@ private:
case '-':
case '*':
case '/':
case '!':
case '#':
//case '@':
case '@':
case '^':
case '%':
case '$':

1
PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp

@ -927,6 +927,7 @@ int FindReplaceDlg::processAll(ProcessOperation op, const char *txt2find, const
if (!isCreated() && !txt2find)
return nbReplaced;
if ((op == ProcessReplaceAll) && (*_ppEditView)->getCurrentBuffer().isReadOnly())
return nbReplaced;

Loading…
Cancel
Save