2 FAR manager incremental search plugin, search as you type in editor.
3 Copyright (C) 1999-2019, Stanislav V. Mekhanoshin
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <https://www.gnu.org/licenses/>.
24 extern char aUpcaseTable
[256];
26 extern void SetSubstringPatternL(const TCHAR
*sPattern
);
27 extern TCHAR
*SubStringL(const TCHAR
*text
, size_t N
);
28 extern void SetSubstringPatternR(const TCHAR
*sPattern
);
29 extern TCHAR
*SubStringR(const TCHAR
*text
, size_t N
);
31 extern void InitUpcaseTable(int nTableNum
, BOOL bAnsiMode
);
32 extern void UpperCase(TCHAR
*sDest
, const TCHAR
*sSrc
, size_t nLen
);
34 #pragma aux UpperCase parm[edi][esi][ecx] modify exact[eax ebx ecx edi esi] = \
38 "lea ebx, aUpcaseTable" \
39 "Next: mov al, [esi][ecx]" \
41 "mov [edi][ecx], al" \