[VAST8] HierarchyBrowser

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

[VAST8] HierarchyBrowser

Postby marten » Wed Jul 08, 2009 3:31 am

When I work with this browser I sometimes loose the color syntax setting. Switching to tab "Class Definition" and back to "Mothod Source" gives me color syntax presentation back again.

PS.: Just execute "New Method Template" and the colored syntax is gone ....
Marten Feldtmann, Principal Smalltalk User, Private
SkypeMe callto://marten.feldtmann
marten
[|]
 
Posts: 641
Joined: Sat Oct 14, 2006 7:10 am
Location: Hamburg - Germany

Re: [VAST8] HierarchyBrowser

Postby Ralf » Wed Jul 08, 2009 4:48 am

I have seen this behavior only at very large methods, 100 lines and more. I know, it will not help you, it's a comment.:)
Ralf
 
Posts: 41
Joined: Thu Nov 16, 2006 4:18 am

Re: [VAST8] HierarchyBrowser

Postby tc » Thu Jul 09, 2009 10:55 am

Hello,

I was able to reproduce the problem and opened case 42237.

Thanks.

--tc
tc
Moderator
 
Posts: 304
Joined: Tue Oct 17, 2006 7:40 am
Location: Raleigh, NC

Re: [VAST8] HierarchyBrowser

Postby Yuri » Wed Aug 12, 2009 4:28 am

Hi All,

I have a possible fix for this problem.

In StsTabbedClassesBrowserWin>>#sourceCodeNotebookPageSelection:clientData:callData:

at this line of code:
Code: Select all
previousTabName = selectedTabName
   ifTrue: [^nil ].


Insert a line of code so that you get:
Code: Select all
previousTabName = selectedTabName
      ifTrue: [
         self changedTextTo: self class methodSourceStringName.
         ^nil ].


After this the hierarchy browser just works fine again with syntax code colouring :)

Also search for other classes implementing this method as this is applicable for all sorts of browsers. :?

Regards, Yuri.
Yuri
 
Posts: 9
Joined: Thu Feb 12, 2009 2:54 am
Location: The Netherlands, Waalwijk or 's-Hertogenbosch


Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest