================================================================================
Readme - ChineseSimplified Readme (˵)
========================================
֧ʽ滻

ʹ滻ļ

չʽ:
1. ַ \c ͷַȫַ \~c
2. 滻Ҳʹ \nЧ $n ͬn Ϊһλ 1-9 ֡

÷:
-"תΪ" Call("Scripts::Main", 1, "SearchReplace_Multi.js", `"ת.txt"`)
-"滻..." Call("Scripts::Main", 1, "SearchReplace_Multi.js")

һڵļʹһļԻѡļ

޲ļҲָļʱ͵һ滻Ĳ˵
вļļλ˽űļͬĿ¼ͬĿ¼( SearchReplace_Multi)С

滻ļĸʽ
[Description]

[Options]
RegExp=0
Sensitive=1
Multiline=0
EscSequences=0
ReplaceFunction=0
Direction=8
[SearchReplace]
Notepad.exe	AkelPad.exe	滻 notepad.exe (ִСд) ΪAkelPad.exe

ĸ [Description][Options][SearchReplace] [SearchReplaceAll] 弰÷
[Description]	˵ֻ˵ãִС
[Options]	ѡݿɱű eval ִС
		ʽ  	RegExp         	0  1, ĬֵΪ 1
		ִСд  	Sensitive      	0  1, ĬֵΪ 0
		У        	Multiline      	0  1, ĬֵΪ 0
		תУ  	EscSequences   	0  1, ĬֵΪ 0
		ʹú滻	ReplaceFunction	0  1, ĬֵΪ 0Ϊ 1bEscSequences Ϊ 0
				Direction 	1  /* DN_DOWN      =0x00000001 */ 
				               	2  /* DN_UP        =0x00000002 */ 
				               	4  /* DN_BEGINNING =0x00000004 */ ʼ (Ĭֵ)
				               	8  /* DN_SELECTION =0x00000008 */ ѡΧ (ѡʱԶȫѡ)
				               	16 /* DN_ALLFILES  =0x00000010 */ ļ

[SearchReplace]	滻ƱָÿеһƱΪҵݣұΪ滻ݡ
		Ʊұ߿עִͣС
		\\ - б
		\r - س
		\n - з
		\t - Ʊ
		ң        pFindIt          		Ϊ
		滻        pReplaceWith     		 bSensitive  1 ʱܵڲ

[SearchReplaceAll]  [SearchReplace] ƣֻΪҺ滻ʹãٳʱҲ𵽱á
================================================================================
Readme - English
========================================
Multi SearchReplace using regular expressions.

 Come by official "SearchReplace.js" and "InsertFile.js", and others js. Thanks!

 Use pattern file to handle file(s).

Call Example:
-"Chinese Simplify" Call("Scripts::Main", 1, "SearchReplace_Multi.js", `"ChineseSimplify.txt"`)
-"SearchReplace_Multi" Call("Scripts::Main", 1, "SearchReplace_Multi.js")

If the argument is not a exist file, then open a FileDialog to choose a file.

If there is no argument then popup a menu about all available pattern files.
The file of Argument has to be placed in the subfolder of SearchReplace_Multi,
Same as script name without extension, which also in [AkelPad]\AkelFiles\Plugs\Scripts .

Below is example of pattern format of file :
[Description]
The content of description about this pattern file.
[Options]
RegExp=0
Sensitive=1
Multiline=0
EscSequences=0
ReplaceFunction=0
Direction=8
[SearchReplace]
Notepad.exe	AkelPad.exe	Replace "notepad.exe" (ignore case) with "AkelPad.exe".

The usage of four sections [Description], [Options], [SearchReplace] and [SearchReplaceAll]:
[Description]	The content of its below is only descript what about the pattern file, won't be eval and handled.
[Options]	Argument of option, the content of its below will be executed by method of eval.
		Regular Expression:  	RegExp         	0 or 1, Default is 1
		Case sensitive:  	Sensitive      	0 or 1, Default is 0
		Multiline:        	Multiline      	0 or 1, Default is 0
		Escape Sequences:  	EscSequences   	0 or 1, Default is 0
		Replace function:	ReplaceFunction	0 or 1, Default is 0. If be set to 1, bEscSequences will be set to 0.
		Direction:		Direction 	1  /* DN_DOWN      =0x00000001 */ Search Forward.
					               	2  /* DN_UP        =0x00000002 */ Search Backward.
					               	4  /* DN_BEGINNING =0x00000004 */ Search from Beginning to Ending. (Default)
					               	8  /* DN_SELECTION =0x00000008 */ Search in selection (When no selection, select all).
					               	16 /* DN_ALLFILES  =0x00000010 */ Search in all files.

[SearchReplace]	The content of its below must be separated by a TAB. The both side of every line's first TAB, left is the content of what to Search, right is Replace with.
		More of ONE Tabs right side always is treated as comment only.
		\\ - Back slace char
		\r - Return char
		\n - new feed char
		\t - TAB char
		What:        pFindIt          		Could not be Empty
		With:        pReplaceWith     		Could not same as pFindIt if bSensitive is true.

[SearchReplaceAll] is similar to [SearchReplace], but its below are treated as the content of search and replace only, any section header won't be action.
================================================================================
