pharo
pharo copied to clipboard
Funky dependencies
CodeExporter class >> writeSourceCodeFrom: aStream toFileReference: aFileReference
"Write the supplied changes to aFileReference"
aFileReference
ensureDelete;
binaryWriteStreamDo: [ :outputStream | (ZnCharacterWriteStream on: outputStream encoding: 'utf8') nextPutAll: aStream contents ].
UIManager default
inform:
(String
streamContents: [ :s |
s
nextPutAll: 'Filed out to: ';
cr;
nextPutAll: aFileReference pathString;
cr;
cr;
nextPutAll: 'Click to open location' ])
actionOnClick: [ aFileReference openInOSFileBrowser ]
and openInOSFileBrowser is packaged in native-Browser. So if we remove Native-Browser then code exporter will break :(