Extending FileList with CrLf

Volker Nitsch nitsch-lists at netcologne.de
Fri Jul 18 16:12:38 UTC 2003


Hacking a bit in FileList to use CrLFileStream.:

FileList opens its files with FileDirectory.
Currently i clone oldFileOrNoneNamed:etc as  oldCrLfFileOrNoneNamed: etc.
is this the right way? 

Also i subclass FileList as CrLfFileList. would some flag or such in FileList 
itself be better?

I want to open files by selecting. So the FileList and PluggableTextMorph 
needs to cooperate. i added
  selection
	^ textMorph editor selection
to PluggableTextMorph and handle it like "view as hex".
since the textmorph offers no access to the selection, i guess Squeakers
would use another way?

curious, Volker



More information about the Squeak-dev mailing list