[vwnc] Updated RBCodeHighlighting

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] Updated RBCodeHighlighting

thomas.hawker

All,

 

A new version of the code highlighting packages is available for any who would like to experiment with them.  I’ve been using them for several months without any issues.

 

The new capabilities refactor the code highlighting to delegate application of highlights to a new hierarchy of objects called emphasizers.  Emphasizers know how to apply a particular kind of emphasis for a specific purpose.  Thus, the basic code highlighting is done by a lexical code emphasizer, while spell checking is done by a spelling emphasizer and hyperlinks are done by a hyperlink emphasizer.  In addition, the advanced stuff in “HyperRBCodeHighlighting” package is done by variable and method emphasizers, and the “RBEnclosureHighlighting” is done by an enclosure emphasizer.  All of these can be controlled through settings pages, as [for example] the variable, method, and enclosure highlighting can get really annoying.  [N.B. The RBEnclosureHighlighting package is obsolete with these changes, as the functionality is now included in the updated HyperRBCodeHighlighting package.]

 

I invite you to load these newer versions, try them out, and provide feedback.  The particular implementations are designed for VW7.7 but for the most part will also run on 7.6.  If you want to try them, you must first uninstall/unload any previous code highlighters.  These versions are incompatible with anything prior to the 7.7 set of changes, and may be incompatible even with the 7.7 stuff.  I haven’t noticed problems loading new versions of the emphasizers over each other, but wouldn’t recommend upgrading to emphasizers over the non-emphasizer code.

 

I would suggest the following steps if you want to upgrade from an existing image:

 

  1. Unload existing highlighter code:  HyperRBCodeHighlighting, RBEnclosureHighlighting, RBCodeHighlighting, SpellcheckHighlighting, HyperlinkHighlighting, TextHighlighting, and HighlightingStyles.  ExtraEmphases is also updated but does not need to be unloaded first.
  2. Close open browsers.  I’ve had problems where there are some dangling highlighting controllers.
  3. Disable Smalltalk formatting for any Workbook page.
  4. Close the settings dialog.

 

To load the new capabilities, do the following:

 

  1. Load these package versions in order:
    1. ExtraEmphases “49.3 emphasizers”
    2. HighlightingStyles “7.7 - 14.7 emphasizers”;  when loading into VW7.6, use “7.7 - 14.2 emphasizers”.
    3. TextHighlighting “7.7 - 12.2 emphasizers”
    4. RBCodeHighlighting “7.7 - 3.8 emphasizers”
    5. HyperlinkHighlighting “7.7 - 10.2 emphasizers” (optional)
    6. SpellcheckHighlighting “7.7 - 18.3 emphasizers” (optional);  update Spellchecker2 to “16”.
    7. HyperRBCodeHighlighting “7.7 - 3.5 emphasizers” (optional).
    8. When loading into VW7.6, also load BrowserCommentTool77 “VW7.6 1 - ONLY” so that browser comments work [you get the VW7.7 capability].
  1. Open the settings dialog and reestablish your preferences.

a.       If you’ve loaded the HyperRBCodeHighlighting package but aren’t used to it, you should probably tailor the settings to turn off variable and method highlighting but turn on method signature highlighting.  This will minimize the annoyance factor but still let you see how it works [try putting the cursor over the method selector].

b.      You can also tailor the styles to use something other than the default style sheet or to tailor individual styles.  New capabilities include double-underlines and background shading.

  1. Enable Smalltalk formatting for any Workbook pages.
  2. Reopen browsers.

 

If there are no major issues, we’ll eventually republish this and request this be made part of the VW7.8 [candle] distribution.

 

Please feel free to report any problems to VWNC or to me personally.  If you want to flame, better keep it personal.

 

Cheers!

 

Tom Hawker

Senior Framework Developer

Home

+1 (408) 274-4128

The Environment:

We take it personally

Office

+1 (408) 576-6591

Mobile

+1 (408) 835-3643

 

IMPORTANT NOTICE
Email from OOCL is confidential and may be legally privileged.  If it is not
intended for you, please delete it immediately unread.  The internet
cannot guarantee that this communication is free of viruses, interception
or interference and anyone who communicates with us by email is taken
to accept the risks in doing so.  Without limitation, OOCL and its affiliates
accept no liability whatsoever and howsoever arising in connection with
the use of this email.  Under no circumstances shall this email constitute
a binding agreement to carry or for provision of carriage services by OOCL,
which is subject to the availability of carrier's equipment and vessels and
the terms and conditions of OOCL's standard bill of lading which is also
available at http://www.oocl.com.

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Updated RBCodeHighlighting

Karsten Kusche
Hi Thomas,

thanks for the improvements! However i've found that it raises a MNU when you try to access the Styles settings page.
I also noticed that Block-Highlighting look a bit weird if there's selected text in the block.

Kind Regards
Karsten



Am 17.11.09 20:40, schrieb [hidden email]

All,

 

A new version of the code highlighting packages is available for any who would like to experiment with them.  I’ve been using them for several months without any issues.

 

The new capabilities refactor the code highlighting to delegate application of highlights to a new hierarchy of objects called emphasizers.  Emphasizers know how to apply a particular kind of emphasis for a specific purpose.  Thus, the basic code highlighting is done by a lexical code emphasizer, while spell checking is done by a spelling emphasizer and hyperlinks are done by a hyperlink emphasizer.  In addition, the advanced stuff in “HyperRBCodeHighlighting” package is done by variable and method emphasizers, and the “RBEnclosureHighlighting” is done by an enclosure emphasizer.  All of these can be controlled through settings pages, as [for example] the variable, method, and enclosure highlighting can get really annoying.  [N.B. The RBEnclosureHighlighting package is obsolete with these changes, as the functionality is now included in the updated HyperRBCodeHighlighting package.]

 

I invite you to load these newer versions, try them out, and provide feedback.  The particular implementations are designed for VW7.7 but for the most part will also run on 7.6.  If you want to try them, you must first uninstall/unload any previous code highlighters.  These versions are incompatible with anything prior to the 7.7 set of changes, and may be incompatible even with the 7.7 stuff.  I haven’t noticed problems loading new versions of the emphasizers over each other, but wouldn’t recommend upgrading to emphasizers over the non-emphasizer code.

 

I would suggest the following steps if you want to upgrade from an existing image:

 

  1. Unload existing highlighter code:  HyperRBCodeHighlighting, RBEnclosureHighlighting, RBCodeHighlighting, SpellcheckHighlighting, HyperlinkHighlighting, TextHighlighting, and HighlightingStyles.  ExtraEmphases is also updated but does not need to be unloaded first.
  2. Close open browsers.  I’ve had problems where there are some dangling highlighting controllers.
  3. Disable Smalltalk formatting for any Workbook page.
  4. Close the settings dialog.

 

To load the new capabilities, do the following:

 

  1. Load these package versions in order:
    1. ExtraEmphases “49.3 emphasizers”
    2. HighlightingStyles “7.7 - 14.7 emphasizers”;  when loading into VW7.6, use “7.7 - 14.2 emphasizers”.
    3. TextHighlighting “7.7 - 12.2 emphasizers”
    4. RBCodeHighlighting “7.7 - 3.8 emphasizers”
    5. HyperlinkHighlighting “7.7 - 10.2 emphasizers” (optional)
    6. SpellcheckHighlighting “7.7 - 18.3 emphasizers” (optional);  update Spellchecker2 to “16”.
    7. HyperRBCodeHighlighting “7.7 - 3.5 emphasizers” (optional).
    8. When loading into VW7.6, also load BrowserCommentTool77 “VW7.6 1 - ONLY” so that browser comments work [you get the VW7.7 capability].
  1. Open the settings dialog and reestablish your preferences.

a.       If you’ve loaded the HyperRBCodeHighlighting package but aren’t used to it, you should probably tailor the settings to turn off variable and method highlighting but turn on method signature highlighting.  This will minimize the annoyance factor but still let you see how it works [try putting the cursor over the method selector].

b.      You can also tailor the styles to use something other than the default style sheet or to tailor individual styles.  New capabilities include double-underlines and background shading.

  1. Enable Smalltalk formatting for any Workbook pages.
  2. Reopen browsers.

 

If there are no major issues, we’ll eventually republish this and request this be made part of the VW7.8 [candle] distribution.

 

Please feel free to report any problems to VWNC or to me personally.  If you want to flame, better keep it personal.

 

Cheers!

 

Tom Hawker

Senior Framework Developer

Home

+1 (408) 274-4128

The Environment:

We take it personally

Office

+1 (408) 576-6591

Mobile

+1 (408) 835-3643

 

IMPORTANT NOTICE
Email from OOCL is confidential and may be legally privileged.  If it is not
intended for you, please delete it immediately unread.  The internet
cannot guarantee that this communication is free of viruses, interception
or interference and anyone who communicates with us by email is taken
to accept the risks in doing so.  Without limitation, OOCL and its affiliates
accept no liability whatsoever and howsoever arising in connection with
the use of this email.  Under no circumstances shall this email constitute
a binding agreement to carry or for provision of carriage services by OOCL,
which is subject to the availability of carrier's equipment and vessels and
the terms and conditions of OOCL's standard bill of lading which is also
available at http://www.oocl.com.
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

-- 
Karsten Kusche - Dipl. Inf. - [hidden email]
Georg Heeg eK - Köthen
Handelsregister: Amtsgericht Dortmund A 12812 

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Updated RBCodeHighlighting

thomas.hawker

Karsten,

 

If you could tell me how you got the MNU, I’ll try to fix it.  Which parcels did you have loaded, which did you reload, and which did you skip?  Did you start from a virgin image?

 

As for the block highlighting looking weird, I only reproduced the existing capability.  I don’t make any claims as to visual usability.  :-)  If you could get to the styles page, then you could change the block highlighting to something else, like double-underline.  That might look better with selected text.

 

Cheers!

 

Tom Hawker

Senior Framework Developer

Home

+1 (408) 274-4128

The Environment:

We take it personally

Office

+1 (408) 576-6591

Mobile

+1 (408) 835-3643

 


From: Karsten [mailto:[hidden email]]
Sent: Wednesday, November 18, 2009 12:41 AM
To: THOMAS HAWKER (IRIS2-ISD-OOCLL/SNT)
Cc: [hidden email]
Subject: Re: [vwnc] Updated RBCodeHighlighting

 

Hi Thomas,

thanks for the improvements! However i've found that it raises a MNU when you try to access the Styles settings page.
I also noticed that Block-Highlighting look a bit weird if there's selected text in the block.

Kind Regards
Karsten



Am 17.11.09 20:40, schrieb [hidden email]

All,

 

A new version of the code highlighting packages is available for any who would like to experiment with them.  I’ve been using them for several months without any issues.

 

The new capabilities refactor the code highlighting to delegate application of highlights to a new hierarchy of objects called emphasizers.  Emphasizers know how to apply a particular kind of emphasis for a specific purpose.  Thus, the basic code highlighting is done by a lexical code emphasizer, while spell checking is done by a spelling emphasizer and hyperlinks are done by a hyperlink emphasizer.  In addition, the advanced stuff in “HyperRBCodeHighlighting” package is done by variable and method emphasizers, and the “RBEnclosureHighlighting” is done by an enclosure emphasizer.  All of these can be controlled through settings pages, as [for example] the variable, method, and enclosure highlighting can get really annoying.  [N.B. The RBEnclosureHighlighting package is obsolete with these changes, as the functionality is now included in the updated HyperRBCodeHighlighting package.]

 

I invite you to load these newer versions, try them out, and provide feedback.  The particular implementations are designed for VW7.7 but for the most part will also run on 7.6.  If you want to try them, you must first uninstall/unload any previous code highlighters.  These versions are incompatible with anything prior to the 7.7 set of changes, and may be incompatible even with the 7.7 stuff.  I haven’t noticed problems loading new versions of the emphasizers over each other, but wouldn’t recommend upgrading to emphasizers over the non-emphasizer code.

 

I would suggest the following steps if you want to upgrade from an existing image:

 

  1. Unload existing highlighter code:  HyperRBCodeHighlighting, RBEnclosureHighlighting, RBCodeHighlighting, SpellcheckHighlighting, HyperlinkHighlighting, TextHighlighting, and HighlightingStyles.  ExtraEmphases is also updated but does not need to be unloaded first.
  2. Close open browsers.  I’ve had problems where there are some dangling highlighting controllers.
  3. Disable Smalltalk formatting for any Workbook page.
  4. Close the settings dialog.

 

To load the new capabilities, do the following:

 

  1. Load these package versions in order:
    1. ExtraEmphases “49.3 emphasizers”
    2. HighlightingStyles “7.7 - 14.7 emphasizers”;  when loading into VW7.6, use “7.7 - 14.2 emphasizers”.
    3. TextHighlighting “7.7 - 12.2 emphasizers”
    4. RBCodeHighlighting “7.7 - 3.8 emphasizers”
    5. HyperlinkHighlighting “7.7 - 10.2 emphasizers” (optional)
    6. SpellcheckHighlighting “7.7 - 18.3 emphasizers” (optional);  update Spellchecker2 to “16”.
    7. HyperRBCodeHighlighting “7.7 - 3.5 emphasizers” (optional).
    8. When loading into VW7.6, also load BrowserCommentTool77 “VW7.6 1 - ONLY” so that browser comments work [you get the VW7.7 capability].
  1. Open the settings dialog and reestablish your preferences.

a.       If you’ve loaded the HyperRBCodeHighlighting package but aren’t used to it, you should probably tailor the settings to turn off variable and method highlighting but turn on method signature highlighting.  This will minimize the annoyance factor but still let you see how it works [try putting the cursor over the method selector].

b.      You can also tailor the styles to use something other than the default style sheet or to tailor individual styles.  New capabilities include double-underlines and background shading.

  1. Enable Smalltalk formatting for any Workbook pages.
  2. Reopen browsers.

 

If there are no major issues, we’ll eventually republish this and request this be made part of the VW7.8 [candle] distribution.

 

Please feel free to report any problems to VWNC or to me personally.  If you want to flame, better keep it personal.

 

Cheers!

 

Tom Hawker

Senior Framework Developer

Home

+1 (408) 274-4128

The Environment:

We take it personally

Office

+1 (408) 576-6591

Mobile

+1 (408) 835-3643

 

IMPORTANT NOTICE
Email from OOCL is confidential and may be legally privileged.  If it is not
intended for you, please delete it immediately unread.  The internet
cannot guarantee that this communication is free of viruses, interception
or interference and anyone who communicates with us by email is taken
to accept the risks in doing so.  Without limitation, OOCL and its affiliates
accept no liability whatsoever and howsoever arising in connection with
the use of this email.  Under no circumstances shall this email constitute
a binding agreement to carry or for provision of carriage services by OOCL,
which is subject to the availability of carrier's equipment and vessels and
the terms and conditions of OOCL's standard bill of lading which is also
available at http://www.oocl.com.
 
 
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
  



-- 
Karsten Kusche - Dipl. Inf. - [hidden email]
Georg Heeg eK - Köthen
Handelsregister: Amtsgericht Dortmund A 12812 
IMPORTANT NOTICE
Email from OOCL is confidential and may be legally privileged.  If it is not
intended for you, please delete it immediately unread.  The internet
cannot guarantee that this communication is free of viruses, interception
or interference and anyone who communicates with us by email is taken
to accept the risks in doing so.  Without limitation, OOCL and its affiliates
accept no liability whatsoever and howsoever arising in connection with
the use of this email.  Under no circumstances shall this email constitute
a binding agreement to carry or for provision of carriage services by OOCL,
which is subject to the availability of carrier's equipment and vessels and
the terms and conditions of OOCL's standard bill of lading which is also
available at http://www.oocl.com.

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Updated RBCodeHighlighting

Karsten Kusche
Hi Thomas,

i think i skipped the spellchecker. Other than that i've loaded code highlighting and hyperRBCodeHilighting.
To get the MNU i needed to select the styles page. If i remember correctly the styles page initializes the highlighter by sending something like #onSettings: which is not understood.

Kind Regards
Karsten



Am 18.11.09 17:36, schrieb [hidden email]

Karsten,

 

If you could tell me how you got the MNU, I’ll try to fix it.  Which parcels did you have loaded, which did you reload, and which did you skip?  Did you start from a virgin image?

 

As for the block highlighting looking weird, I only reproduced the existing capability.  I don’t make any claims as to visual usability.  :-)  If you could get to the styles page, then you could change the block highlighting to something else, like double-underline.  That might look better with selected text.

 

Cheers!

 

Tom Hawker

Senior Framework Developer

Home

+1 (408) 274-4128

The Environment:

We take it personally

Office

+1 (408) 576-6591

Mobile

+1 (408) 835-3643

 


From: Karsten [[hidden email]]
Sent: Wednesday, November 18, 2009 12:41 AM
To: THOMAS HAWKER (IRIS2-ISD-OOCLL/SNT)
Cc: [hidden email]
Subject: Re: [vwnc] Updated RBCodeHighlighting

 

Hi Thomas,

thanks for the improvements! However i've found that it raises a MNU when you try to access the Styles settings page.
I also noticed that Block-Highlighting look a bit weird if there's selected text in the block.

Kind Regards
Karsten



Am 17.11.09 20:40, schrieb [hidden email]

All,

 

A new version of the code highlighting packages is available for any who would like to experiment with them.  I’ve been using them for several months without any issues.

 

The new capabilities refactor the code highlighting to delegate application of highlights to a new hierarchy of objects called emphasizers.  Emphasizers know how to apply a particular kind of emphasis for a specific purpose.  Thus, the basic code highlighting is done by a lexical code emphasizer, while spell checking is done by a spelling emphasizer and hyperlinks are done by a hyperlink emphasizer.  In addition, the advanced stuff in “HyperRBCodeHighlighting” package is done by variable and method emphasizers, and the “RBEnclosureHighlighting” is done by an enclosure emphasizer.  All of these can be controlled through settings pages, as [for example] the variable, method, and enclosure highlighting can get really annoying.  [N.B. The RBEnclosureHighlighting package is obsolete with these changes, as the functionality is now included in the updated HyperRBCodeHighlighting package.]

 

I invite you to load these newer versions, try them out, and provide feedback.  The particular implementations are designed for VW7.7 but for the most part will also run on 7.6.  If you want to try them, you must first uninstall/unload any previous code highlighters.  These versions are incompatible with anything prior to the 7.7 set of changes, and may be incompatible even with the 7.7 stuff.  I haven’t noticed problems loading new versions of the emphasizers over each other, but wouldn’t recommend upgrading to emphasizers over the non-emphasizer code.

 

I would suggest the following steps if you want to upgrade from an existing image:

 

  1. Unload existing highlighter code:  HyperRBCodeHighlighting, RBEnclosureHighlighting, RBCodeHighlighting, SpellcheckHighlighting, HyperlinkHighlighting, TextHighlighting, and HighlightingStyles.  ExtraEmphases is also updated but does not need to be unloaded first.
  2. Close open browsers.  I’ve had problems where there are some dangling highlighting controllers.
  3. Disable Smalltalk formatting for any Workbook page.
  4. Close the settings dialog.

 

To load the new capabilities, do the following:

 

  1. Load these package versions in order:
    1. ExtraEmphases “49.3 emphasizers”
    2. HighlightingStyles “7.7 - 14.7 emphasizers”;  when loading into VW7.6, use “7.7 - 14.2 emphasizers”.
    3. TextHighlighting “7.7 - 12.2 emphasizers”
    4. RBCodeHighlighting “7.7 - 3.8 emphasizers”
    5. HyperlinkHighlighting “7.7 - 10.2 emphasizers” (optional)
    6. SpellcheckHighlighting “7.7 - 18.3 emphasizers” (optional);  update Spellchecker2 to “16”.
    7. HyperRBCodeHighlighting “7.7 - 3.5 emphasizers” (optional).
    8. When loading into VW7.6, also load BrowserCommentTool77 “VW7.6 1 - ONLY” so that browser comments work [you get the VW7.7 capability].
  1. Open the settings dialog and reestablish your preferences.

a.       If you’ve loaded the HyperRBCodeHighlighting package but aren’t used to it, you should probably tailor the settings to turn off variable and method highlighting but turn on method signature highlighting.  This will minimize the annoyance factor but still let you see how it works [try putting the cursor over the method selector].

b.      You can also tailor the styles to use something other than the default style sheet or to tailor individual styles.  New capabilities include double-underlines and background shading.

  1. Enable Smalltalk formatting for any Workbook pages.
  2. Reopen browsers.

 

If there are no major issues, we’ll eventually republish this and request this be made part of the VW7.8 [candle] distribution.

 

Please feel free to report any problems to VWNC or to me personally.  If you want to flame, better keep it personal.

 

Cheers!

 

Tom Hawker

Senior Framework Developer

Home

+1 (408) 274-4128

The Environment:

We take it personally

Office

+1 (408) 576-6591

Mobile

+1 (408) 835-3643

 

IMPORTANT NOTICE
Email from OOCL is confidential and may be legally privileged.  If it is not
intended for you, please delete it immediately unread.  The internet
cannot guarantee that this communication is free of viruses, interception
or interference and anyone who communicates with us by email is taken
to accept the risks in doing so.  Without limitation, OOCL and its affiliates
accept no liability whatsoever and howsoever arising in connection with
the use of this email.  Under no circumstances shall this email constitute
a binding agreement to carry or for provision of carriage services by OOCL,
which is subject to the availability of carrier's equipment and vessels and
the terms and conditions of OOCL's standard bill of lading which is also
available at http://www.oocl.com.
 
 
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
  



-- 
Karsten Kusche - Dipl. Inf. - [hidden email]
Georg Heeg eK - Köthen
Handelsregister: Amtsgericht Dortmund A 12812 
IMPORTANT NOTICE
Email from OOCL is confidential and may be legally privileged.  If it is not
intended for you, please delete it immediately unread.  The internet
cannot guarantee that this communication is free of viruses, interception
or interference and anyone who communicates with us by email is taken
to accept the risks in doing so.  Without limitation, OOCL and its affiliates
accept no liability whatsoever and howsoever arising in connection with
the use of this email.  Under no circumstances shall this email constitute
a binding agreement to carry or for provision of carriage services by OOCL,
which is subject to the availability of carrier's equipment and vessels and
the terms and conditions of OOCL's standard bill of lading which is also
available at http://www.oocl.com.

-- 
Karsten Kusche - Dipl. Inf. - [hidden email]
Georg Heeg eK - Köthen
Handelsregister: Amtsgericht Dortmund A 12812 

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc