fixig text search with 'Word Begins/Ends With' option
|Assignee:||J. Templ||% Done:|
The rules for detecting word begin/word end in a text search with the 'Word Begins/Ends With' option(s) need to be refined because they produce unexpected results.
For example searching for 'pattern' in the text ')pattern' does not find it.
The field widths for 'Word Begins/Ends With' options need to be increased in the Find/Replace dialog.
In addition,the handling of non-ASCII characters needs to be refined
as reported by Ivan Denisov on 2013-08-19.
Refers to CPC 1.7rc5 change list number 47.
LeftTerminator and RigthTerminator generalized for Unicode. Refs: #75.
Same rule (~Strings.IsIdent) used in both cases.
Two separate functions retained in the code for preserving
the program structure and for easily allowing asymmetric rules
if there should arise any need in the future.
Width of option labels increased in the dialog as proposed in CPC 1.7 rc5.
Signed-off-by: Josef Templ <firstname.lastname@example.org>