<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Georgia">I'm not sure how many folks still use
      FileContentsBrowser, but there is a small issue:<br>
      <br>
      browseStream: aStream named: aString<br>
      <br>
      &nbsp;&nbsp;&nbsp; | browser |<br>
      &nbsp;&nbsp;&nbsp; Cursor wait showWhile: [ | package packageDict organizer |<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; packageDict := Dictionary new.<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; browser := self new.<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; organizer := SystemOrganizer defaultList: Array new.<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; package := (FilePackage new fullName: aString; fileInFrom:
      aStream).<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; packageDict <br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; at: package packageName <br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; put: package.<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<b> organizer </b><b><br>
      </b><b>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; classifyAll: package classes keys </b><b><br>
      </b><b>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; under: package packageName.</b><br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; (browser := self systemOrganizer: organizer)<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; packages: packageDict].<br>
      &nbsp;&nbsp;&nbsp; self<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; openBrowserView: browser createViews<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; label: 'File Contents Browser'.<br>
      <br>
      which soon leads to SystemOrganizer<br>
      <br>
      classify: element under: newCategory<br>
      &nbsp;&nbsp;&nbsp; | oldCategory class |<br>
      &nbsp;&nbsp;&nbsp; oldCategory := self categoryOfElement: element.<br>
      &nbsp;&nbsp;&nbsp; super classify: element under: newCategory.<br>
      &nbsp;&nbsp;&nbsp; class := Smalltalk at: element ifAbsent: [^ self].<br>
      &nbsp;&nbsp;&nbsp; <b>SystemChangeNotifier uniqueInstance</b><b><br>
      </b><b>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; class: class</b><b><br>
      </b><b>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; recategorizedFrom: oldCategory</b><b><br>
      </b><b>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; to: newCategory </b><br>
      <br>
      which causes all known classes in the file being browsed to be
      added to the current change set as having a class definition
      change. Perhaps it makes sense to do the notification only if this
      SystemOrganizer is actually SystemOrganization.<br>
      <br>
      Cheers,<br>
      Bob<br>
    </font>
  </body>
</html>