Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: 18. [text]
Group: current: 8.5a3
Submitted By: fvogelnew1 (fvogelnew1)
Assigned to: Vince Darley (vincentdarley)
Summary: Text widget -strictlimits option ignored and undocumented
The text widget -strictlimits option for search that was
part of the already implemented TIP 155 is
Moreover, this option does not spit any error when used,
but it is apparently simply ignored.
.t insert 1.0 "Hello world!\n"
.t insert 2.0 "This is a test\n"
set match [.t search -strictlimits -- "world" 1.3 1.8]
The search occurs between positions 1.3 and 1.8, i.e.
the search area does not include the full word "world"
that is searched for.
Nevertheless, a match is found, which means that .t
search does not check whether the match it finds is
entirely included in the search area or not, despite the
presence of the -strictlimits option.
In a clt thread (see
m=1&hl=fr#2a3660c107cd21ba) I was told that some of
the implementation of -strictlimits was forgotten, e.g. for
regexps. The example above is however no regexp, and
the scope of this bug is probably not limited to this sort
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________
Tcl-Bugs mailing list
[hidden email] https://lists.sourceforge.net/lists/listinfo/tcl-bugs