#BUGFIX by exept
class: MethodFinderWindow
comment/format in: #searchPatternMatches:
changed: #updateListAfterPatternSearch:
ouch - a buggy refactoring
#(
language: en
intro
wait: 0.5
show: 'This short presentation shows, how to find a method when the desired result is known.'
wait: 0.5
show: 'Questions answered by this tool are: "which function will sort a list",'
show: 'or "how do I get a string in upper case".'
wait: 1
(unless: ( isEmpty: ReceiverEditor ) do:(
(showing: 'You can clear the fields - by pressing the "Clear" button.' do:(
fastMoveTo: ClearButton
click
))
wait: 0.5
))
show: 'Let us find out, which code generates 11, given 10 and 1 as operands.'
wait: 0.5
( showing: 'First, choose the number of arguments.' do:(
moveTo: AllowedArguments
select: '1 argument'
))
(showing: 'Click into the "receiver" field,' do:(
moveTo: ReceiverEditor
click
))
wait: 0.5
(showing: 'and enter a value (or expression).' do:(
type: '10'
))
wait: 0.5
(showing: 'Click into the "first argument" field,' do:(
moveTo: Arg1Editor
click
))
wait: 0.5
(showing: 'and enter a value for the argument.' do:(
type: '1'
))
wait: 0.5
(showing: 'Click into the "answer" field,' do:(
fastMoveTo: AnswerEditor
click
))
(showing: 'and enter the expected result into the "answer" field.' do:(
type: '11'
))
wait: 0.5
(showing: 'Finally, click on the "Search" button.' do:(
fastMoveTo: SearchButton
click
))
wait: 0.5
show: 'Now, the finder searched for combinations which produce the desired result,'
fastMoveTo: ResultList
show: 'and presents code in the answer list below.'
wait: 1
show: 'If you select any item there,'
wait: 0.5
selectIndex: 2
wait: 0.5
fastMoveTo: ImplementorsList
show: 'the implementations will be shown in the top right implementor list.'
wait: 0.5
show: 'If you select any item there,'
selectIndex: 1
wait: 0.5
show: 'the implementation is shown in the code editor at the bottom.'
moveTo: CodeView
wait: 0.5
show: 'Thank you for watching, indeed'
)
"Created: / 18-07-2019 / 21:59:06 / Claus Gittinger"
"Modified: / 19-07-2019 / 16:52:01 / Claus Gittinger"