[squeak-dev] Re: Shout

Andreas Raab andreas.raab at gmx.de
Wed Aug 19 03:07:07 UTC 2009


Ronald Spengler wrote:
> :) 
> 
> Please forgive; I'm new to Mantis. This is now stale:
> 
> http://bugs.squeak.org/view.php?id=7383
> 
> I can add notes, and delete the notes that I've added, but I can't 
> resolve the issue as far as I can tell.

No prob. I closed it. Thanks for pointing it out - it's better to 
mention a bug that's no longer valid than to have these age old never 
resolved issues.

Cheers,
   - Andreas

> On Tue, Aug 18, 2009 at 1:10 AM, Andreas Raab <andreas.raab at gmx.de 
> <mailto:andreas.raab at gmx.de>> wrote:
> 
>     Andreas Raab wrote:
> 
>         Ah. I think I wasn't clear here. The goal is to provide syntax
>         highlighting hooks directly in SmalltalkEditor (see the earlier
>         discussion about the SmalltalkEditor/TextEditor distinction).
>         These hooks just happen to look a lot like the extension methods
>         Shout uses today ;-) But by the end of the day, all you will
>         need from Shout are the categories Shout-Parsing and
>         Shout-Styling and you will get highlighting without extra
>         dependencies. If you happen to write an alternative package that
>         can be utilized with the same protocol you will be able to hook
>         this in seamlessly. And if you think that syntax highlighting is
>         a waste of memory, you can just unload Shout.
> 
> 
>     The hooks are now in place. If you update from the trunk, you can
>     load shout, it will work out of the box, and none of its extension
>     methods have any impact whatsoever (other than to litter your image
>     a little ;-) I'm lobbying Andy to make a release so that we can only
>     use the "core" pieces of shout (Shout-Parsing and Shout-Styling); as
>     soon as we got that we're ready to push shout into the trunk.
> 
>     In case you're curious, I implemented this by adding a subtype to
>     the ToolBuilder text spec, a code pane spec. It's specific intent is
>     for code editing so it does by default use syntax highlighting (and
>     perhaps auto-completion and other purely coding-related facilities).
>     I also renamed some of the shout specific methods
>     (shoutAboutToStyle:) to just be called, e.g., #aboutToStyle: to
>     avoid conflicts with the extensions in Shout (these are installed
>     but not used if you're running trunk images).
> 
>     So ... anyone having a good code completion handy?
> 
>     Cheers,
>      - Andreas
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 




More information about the Squeak-dev mailing list