Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-and-itasks
clean-ide
Commits
e903a234
Commit
e903a234
authored
Jul 02, 2002
by
Diederik van Arkel
Browse files
remove 'replace by nothing' restriction
parent
9f12dee8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Ide/finder.icl
View file @
e903a234
...
...
@@ -305,8 +305,10 @@ sr_worker wId work_type finfo pstate
|
(
work_type
==
Replace
||
work_type
==
ReplaceAll
)
&&
isEmpty
finfo
.
fi_repl
=
pstate
#
rep
=
hd
finfo
.
fi_repl
/* Removed due to popular demand...
| (work_type == Replace || work_type == ReplaceAll) && size rep == 0
= pstate
*/
=
case
work_type
of
Find
#
fri
=
...
...
@@ -365,11 +367,13 @@ sr_types_worker work_type finfo pstate
#
fnd
=
hd
finfo
.
fi_find
|
size
fnd
==
0
=
pstate
/* Removed due to pointless...
| (work_type == Replace || work_type == ReplaceAll) && isEmpty finfo.fi_repl
= pstate
# rep = hd finfo.fi_repl
| (work_type == Replace || work_type == ReplaceAll) && size rep == 0
= pstate
*/
=
case
work_type
of
Find
#
fri
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment