<commit_before>Utilities setAuthorInitials: 'travisCI'.
FileStream stdout nextPutAll: 'Author set'; cr; flush.

Transcript class compile: '
nextPutAll: aColl
	([FileStream stdout] on: Error do: [])
		ifNotNilDo: [:s | s nextPutAll: aColl; flush].
	^ super nextPutAll: aColl
'.
FileStream stdout nextPutAll: 'Transcript #nextPutAll: dupped'; cr; flush.

Transcript class compile: '
nextPut: aChar
	([FileStream stdout] on: Error do: [])
		ifNotNilDo: [:s | s nextPut: aChar; flush].
	^ super nextPut: aChar
'.
FileStream stdout nextPutAll: 'Transcript #nextPut: dupped'; cr; flush.

"Get the Metacello configuration (for Squeak users)"
Installer swasource
  project: 'SwaUtilities';
  addPackage: 'ConfigurationOfMetacello';
  install.

"Bootstrap Metacello Preview, using mcz files (#'previewBootstrap' symbolic version"
((Smalltalk at: #ConfigurationOfMetacello) project version: #'previewBootstrap') load.

(Smalltalk at: #Metacello) new
  baseline: 'BPH12014';
  repository: 'filetree://', FileDirectory default fullName, '/repository';
  load.

"Prepare image for saving"
Preferences setPreference: #warnIfNoChangesFile toValue: false.
Preferences setPreference: #warnIfNoSourcesFile toValue: false.

PluggableSystemWindow allSubInstances do: [:w | w delete].

UIManager default
  edit: 'Welcome to our bachelor''s project.

In the open code editor window you can try a few of our showcases.
The code that is already present is a standard method from
the OrderedCollection class. This would be a sample of how to edit
method within this new Code-Editor prototype.

Some interesting Hotkey combinations that work in there are:

[ALT] + H - Invokes the MethodFinder at the caret. This requires
a valid MethodFinder expression as e.g. #((3 4) 7)
which should also return 3+4.

[ALT] + J - Open a find-all input field. This is still WIP.
This field also takes method finder expressions like above,
but can also display a lot of context information about the
code snippet that your are editing and the variables and types
that are currently involved.' label: 'Welcome'.

((Smalltalk at: #SimpleCodeEditor) for: OrderedCollection and: #at:) open.

SmalltalkImage current snapshot: true andQuit: true.<commit_msg>added more debug, removed old code<commit_after>Utilities setAuthorInitials: 'travisCI'.
FileStream stdout nextPutAll: 'Author set'; cr; flush.

Transcript class compile: '
nextPutAll: aColl
	([FileStream stdout] on: Error do: [])
		ifNotNilDo: [:s | s nextPutAll: aColl; flush].
	^ super nextPutAll: aColl
'.
FileStream stdout nextPutAll: 'Transcript #nextPutAll: dupped'; cr; flush.

Transcript class compile: '
nextPut: aChar
	([FileStream stdout] on: Error do: [])
		ifNotNilDo: [:s | s nextPut: aChar; flush].
	^ super nextPut: aChar
'.
FileStream stdout nextPutAll: 'Transcript #nextPut: dupped'; cr; flush.

"Get the Metacello configuration (for Squeak users)"
Installer swasource
  project: 'SwaUtilities';
  addPackage: 'ConfigurationOfMetacello';
  install.
FileStream stdout nextPutAll: 'Installed Metacello'; cr; flush.

"Bootstrap Metacello Preview, using mcz files (#'previewBootstrap' symbolic version"
((Smalltalk at: #ConfigurationOfMetacello) project version: #'previewBootstrap') load.
FileStream stdout nextPutAll: 'Bootstrapped Metacello Preview'; cr; flush.

(Smalltalk at: #Metacello) new
  baseline: 'BPH12014';
  repository: 'filetree://', FileDirectory default fullName, '/repository';
  load.
FileStream stdout nextPutAll: 'Installed BPH12014 baseline'; cr; flush.

"Prepare image for saving"
Preferences setPreference: #warnIfNoChangesFile toValue: false.
Preferences setPreference: #warnIfNoSourcesFile toValue: false.
FileStream stdout nextPutAll: 'Prepared image for saving'; cr; flush.

PluggableSystemWindow allSubInstances do: [:w | w delete].
FileStream stdout nextPutAll: 'Closed all windows'; cr; flush.

UIManager default
  edit: 'Welcome to our bachelor''s project.

In the open code editor window you can try a few of our showcases.
The code that is already present is a standard method from
the OrderedCollection class. This would be a sample of how to edit
method within this new Code-Editor prototype.

Some interesting Hotkey combinations that work in there are:

[ALT] + H - Invokes the MethodFinder at the caret. This requires
a valid MethodFinder expression as e.g. #((3 4) 7)
which should also return 3+4.

[ALT] + J - Open a find-all input field. This is still WIP.
This field also takes method finder expressions like above,
but can also display a lot of context information about the
code snippet that your are editing and the variables and types
that are currently involved.' label: 'Welcome'.
FileStream stdout nextPutAll: 'Created welcome message, now quitting'; cr; flush.

SmalltalkImage current snapshot: true andQuit: true.
{'fraction_non_alphanumeric': 0.08703819661865998, 'fraction_numerical': 0.005218117303276978, 'mean_word_length': 5.239583333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3059150', 'n_tokens_mistral': 1446, 'n_tokens_neox': 1422, 'n_words': 592}