Mantis - Squeak
Viewing Issue Advanced Details
7609 Browser tweak always 03-05-11 21:38 03-05-11 21:39
FrankShearar  
FrankShearar  
normal  
assigned trunk  
open  
none    
none  
0007609: Hide Browser's RecentClasses behind #rememberClass:
Browser>>classListIndex: has a big chunk of complicated stuff to remember recently visited classes, when it could put all that in a new method #rememberClass: that looks like this:

rememberClass: className
  (RecentClasses includes: className)
    ifTrue: [RecentClasses remove: className].

  RecentClasses addFirst: className.
  RecentClasses size > 16
    ifTrue: [RecentClasses removeLast].

There are no notes attached to this issue.