--- a/resources/shows/MethodFinderWindow_de.show Tue Jul 23 11:04:06 2019 +0200
+++ b/resources/shows/MethodFinderWindow_de.show Tue Jul 23 11:04:14 2019 +0200
@@ -1,6 +1,7 @@
"/ encoding utf8
#(
+ language: de
show: 'Diese kleine Präsentation zeigt ihnen, wie man eine Methode findet wenn das gewünschte Ergebnis bekannt ist.'
wait: 0.5
show: 'Zum Beispiel beantwortet dieses Tool die Frage: "welche Funktion sortiert mir eine Liste", oder "wie bekomme ich einen String mit Großbuchstaben".'
--- a/resources/shows/MethodFinderWindow_en.show Tue Jul 23 11:04:06 2019 +0200
+++ b/resources/shows/MethodFinderWindow_en.show Tue Jul 23 11:04:14 2019 +0200
@@ -1,65 +1,75 @@
#(
- show: 'this little presentation shows, how to find a method when the desired result is known'
+ 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", or "how do I get a string in upper case".'
-
- intro
+ wait: 1
(unless: ( isEmpty: ReceiverEditor ) do:(
- (showing: 'you can clear the fields - by pressing the "Clear" button' do:(
+ (showing: 'You can clear the fields - by pressing the "Clear" button.' do:(
fastMoveTo: ClearButton
click
))
+ wait: 0.5
))
- ( showing: 'start by choosing the number of arguments,' do:(
+ 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:(
+ (showing: 'Click into the "receiver" field,' do:(
moveTo: ReceiverEditor
click
))
wait: 0.5
- (showing: 'Enter a value (or expression) into "receiver" field' do:(
+ (showing: 'and enter a value (or expression).' do:(
type: '10'
))
wait: 0.5
- (showing: 'Click into the "first argument" field' do:(
+ (showing: 'Click into the "first argument" field,' do:(
moveTo: Arg1Editor
click
))
wait: 0.5
- (showing: 'and enter a value for the argument' do:(
+ (showing: 'and enter a value for the argument.' do:(
type: '1'
))
wait: 0.5
- (showing: 'Click into the "answer" field' do:(
+ (showing: 'Click into the "answer" field,' do:(
fastMoveTo: AnswerEditor
click
))
- (showing: 'Enter the expected result value into the "answer" field' do:(
+ (showing: 'and enter the expected result into the "answer" field.' do:(
type: '11'
))
wait: 0.5
- (showing: 'and finally, Click on the "search" button' do:(
+ (showing: 'Finally, click on the "Search" button.' do:(
fastMoveTo: SearchButton
click
))
- show: 'now, the finder searches for combinations that produce the desired result'
+ wait: 0.5
+ show: 'Now, the finder searched for combinations which produce the desired result,'
fastMoveTo: ResultList
- show: 'and present code which would produce it in the answer list below'
- show: 'if you select any item there,'
+ 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'
- show: 'if you select any item there,'
+ 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 bottom code editor'
- fastMoveTo: CodeView
+ show: 'the implementation is shown in the code editor at the bottom.'
+ moveTo: CodeView
wait: 0.5
show: 'Thank you for watching, indeed'
)