Really Cool...!
On Wed, Oct 15, 2014 at 11:52 AM, Marcus Denker <[email protected]> wrote: > > > On 14 Oct 2014, at 23:26, Tudor Girba <[email protected]> wrote: > > > > Hi, > > > > Now, that more people are playing with the GTInspector, I would like to > raise another point that might otherwise go unnoticed: The inspector > extensions do not only work in the inspector, but can also be combined in > other browsers as well. > > > > We could replace (most of) the FileBrowser by > > GLMPager new with: [ :pager | > pager show: [ :composite :file | > composite title: file basename. > file gtInspectorItemsIn: composite. > file gtInspectorContentsIn: composite ]; > title: 'FileBrowser' ]; > openOn: FileSystem disk workingDirectory > > > > Where it replaces > > FileList linesOfCode > > ==> 1075 > (plus three more helper classes). > > Of course this does a little bit more, but most of that is at the wrong > spot anyway. > (editor for text files, API for file selection on the class side). > > Marcus >
