[vwnc] Updated RB Code Highlighter

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

[vwnc] Updated RB Code Highlighter

thomas.hawker

To Anyone Interested:

 

I have made a branch of the code highlighter (version 63.4.3).  I would greatly appreciate feedback from anyone who would like to try it.  It has quite a number of extensions and features over the existing one.

 

The “current state of the art” is version 63 for VW7.6, of which branch 63.2 is the baseline for VW7.7.  My version is taken from 63.4, which incorporates hyperlink and spell checking highlighting, which is different from the VW7.7 baseline.  In the branch, both hyperlink highlighting and spell checking can be disabled, so it should not have an adverse impact on VW7.7.  The changes will work even if you don’t load the spell checker (it just ignores spell checking requests).

 

The separate highlighter dialog has been removed in favor of doing things directly in the settings manager.  All the controls are on a page under the Tools > Browser page.  The highlighting settings are closer to the code highlighter in Envy, giving a few more options for highlighting, such as block or parenthesis depth.  In addition, you can now create your own styles by adding a style description, then finding a way to use it (say, by updating the reduce actions in the grammar with SmaCC.)  The parser and scanner have been refactored slightly to support alternative Smalltalk language syntax – such as for GemStone.

 

The 63.4.* branch is not load compatible with an existing highlighter version because it changes the way styles are modeled and applied.  You should unload any existing version before loading the new one.  You can then open the settings dialog to configure your settings.  If you had saved any specialized settings you were using, it should be able to import them through the style-sheet drop-down on the Tools > Browser > Styles page, augmenting them with the additional styles that have been added.  [Eventually, this drop down will go away in favor of the settings page load/save as XML capability.]

 

See the package comment and blessing comments for the short list of what changed.

 

Cheers!

 

Tom Hawker

Senior Framework Developer

Home

+1 (408) 274-4128

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 RB Code Highlighter

Emiliano Pérez-3
Hi, trying it right now. I really like the new settings disposition (and
the fact that there are multiple predefined styles to choose).
Something to notice, when loading in a clean 7.6 image it throws a
prerequisite failure dialog:
"Unable to load prerequisite Base Visualwork Fixes".
If you click yes, when it finishes loading, it throws a bunch of
unloadable definitions, all for GemStoneCodehighlightingParser.
Great work, a little suggestion though. You could group the 3 settings
pages in the same submenu, i think it would be more intuitive, something
like:
- Browser
    - Formatter
    - Code Highlighter
       - HyperLinks
       - Highlighter
       - Styles

Cheers, Emiliano.


[hidden email] escribió:

>
> To Anyone Interested:
>
>  
>
> I have made a branch of the code highlighter (version 63.4.3).  I
> would greatly appreciate feedback from anyone who would like to try
> it.  It has quite a number of extensions and features over the
> existing one.
>
>  
>
> The “current state of the art” is version 63 for VW7.6, of which
> branch 63.2 is the baseline for VW7.7.  My version is taken from 63.4,
> which incorporates hyperlink and spell checking highlighting, which is
> different from the VW7.7 baseline.  In the branch, both hyperlink
> highlighting and spell checking can be disabled, so it should not have
> an adverse impact on VW7.7.  The changes will work even if you don’t
> load the spell checker (it just ignores spell checking requests).
>
>  
>
> The separate highlighter dialog has been removed in favor of doing
> things directly in the settings manager.  All the controls are on a
> page under the Tools > Browser page.  The highlighting settings are
> closer to the code highlighter in Envy, giving a few more options for
> highlighting, such as block or parenthesis depth.  In addition, you
> can now create your own styles by adding a style description, then
> finding a way to use it (say, by updating the reduce actions in the
> grammar with SmaCC.)  The parser and scanner have been refactored
> slightly to support alternative Smalltalk language syntax – such as
> for GemStone.
>
>  
>
> The 63.4.* branch is not load compatible with an existing highlighter
> version because it changes the way styles are modeled and applied.  
> You should unload any existing version before loading the new one.  
> You can then open the settings dialog to configure your settings.  If
> you had saved any specialized settings you were using, it should be
> able to import them through the style-sheet drop-down on the Tools >
> Browser > Styles page, augmenting them with the additional styles that
> have been added.  [Eventually, this drop down will go away in favor of
> the settings page load/save as XML capability.]
>
>  
>
> See the package comment and blessing comments for the short list of
> what changed.
>
>  
>

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

Re: [vwnc] Updated RB Code Highlighter

thomas.hawker

All,

 

Updated code highlighter problems have been fixed - use version 63.4.4.

 

·         Unknown prerequisite reference has been removed (it wasn't used in the public repository version).

·         Unloadable definitions were remove.  Somehow they had been misplaced outside their private package.

·         I’ve reworked the settings pages similar to Emiliano’s suggestion.

 

I tried loading this into a “blank” image and none of the problems repeated.

 

Cheers!

 

Tom Hawker

--------------------------

Senior Framework Developer

--------------------------

Home  +1 (408) 274-4128

Office      +1 (408) 576-6591

Mobile      +1 (408) 835-3643

 

 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Emiliano Pérez
Sent: Wednesday, December 03, 2008 8:59 AM
To: vwnc-list
Subject: Re: [vwnc] Updated RB Code Highlighter

 

Hi, trying it right now. I really like the new settings disposition (and

the fact that there are multiple predefined styles to choose).

Something to notice, when loading in a clean 7.6 image it throws a

prerequisite failure dialog:

"Unable to load prerequisite Base Visualwork Fixes".

If you click yes, when it finishes loading, it throws a bunch of

unloadable definitions, all for GemStoneCodehighlightingParser.

Great work, a little suggestion though. You could group the 3 settings

pages in the same submenu, i think it would be more intuitive, something

like:

- Browser

    - Formatter

    - Code Highlighter

       - HyperLinks

       - Highlighter

       - Styles

 

Cheers, Emiliano.

 

 

[hidden email] escribió:

> To Anyone Interested:

> I have made a branch of the code highlighter (version 63.4.3).  I

> would greatly appreciate feedback from anyone who would like to try

> it.  It has quite a number of extensions and features over the

> existing one.

> The “current state of the art” is version 63 for VW7.6, of which

> branch 63.2 is the baseline for VW7.7.  My version is taken from 63.4,

> which incorporates hyperlink and spell checking highlighting, which is

> different from the VW7.7 baseline.  In the branch, both hyperlink

> highlighting and spell checking can be disabled, so it should not have

> an adverse impact on VW7.7.  The changes will work even if you don’t

> load the spell checker (it just ignores spell checking requests).

> The separate highlighter dialog has been removed in favor of doing

> things directly in the settings manager.  All the controls are on a

> page under the Tools > Browser page.  The highlighting settings are

> closer to the code highlighter in Envy, giving a few more options for

> highlighting, such as block or parenthesis depth.  In addition, you

> can now create your own styles by adding a style description, then

> finding a way to use it (say, by updating the reduce actions in the

> grammar with SmaCC.)  The parser and scanner have been refactored

> slightly to support alternative Smalltalk language syntax – such as

> for GemStone.

> The 63.4.* branch is not load compatible with an existing highlighter

> version because it changes the way styles are modeled and applied. 

> You should unload any existing version before loading the new one. 

> You can then open the settings dialog to configure your settings.  If

> you had saved any specialized settings you were using, it should be

> able to import them through the style-sheet drop-down on the Tools >

> Browser > Styles page, augmenting them with the additional styles that

> have been added.  [Eventually, this drop down will go away in favor of

> the settings page load/save as XML capability.]

> See the package comment and blessing comments for the short list of

> what changed.

 

_______________________________________________

vwnc mailing list

[hidden email]

http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

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 RB Code Highlighter

Terry Raymond

Tom

 

Is this loadable in VW 7.6?

 

Terry

===========================================================
Terry Raymond
Crafted Smalltalk
80 Lazywood Ln.
Tiverton, RI  02878
(401) 624-4517      [hidden email]
<http://www.craftedsmalltalk.com>
===========================================================


From: [hidden email] [mailto:[hidden email]] On Behalf Of [hidden email]
Sent: Wednesday, December 03, 2008 1:27 PM
To: [hidden email]; [hidden email]
Cc: [hidden email]
Subject: Re: [vwnc] Updated RB Code Highlighter

 

All,

 

Updated code highlighter problems have been fixed - use version 63.4.4.

 

·         Unknown prerequisite reference has been removed (it wasn't used in the public repository version).

·         Unloadable definitions were remove.  Somehow they had been misplaced outside their private package.

·         I’ve reworked the settings pages similar to Emiliano’s suggestion.

 

I tried loading this into a “blank” image and none of the problems repeated.

 

Cheers!

 

Tom Hawker

--------------------------

Senior Framework Developer

--------------------------

Home  +1 (408) 274-4128

Office      +1 (408) 576-6591

Mobile      +1 (408) 835-3643

 

 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Emiliano Pérez
Sent: Wednesday, December 03, 2008 8:59 AM
To: vwnc-list
Subject: Re: [vwnc] Updated RB Code Highlighter

 

Hi, trying it right now. I really like the new settings disposition (and

the fact that there are multiple predefined styles to choose).

Something to notice, when loading in a clean 7.6 image it throws a

prerequisite failure dialog:

"Unable to load prerequisite Base Visualwork Fixes".

If you click yes, when it finishes loading, it throws a bunch of

unloadable definitions, all for GemStoneCodehighlightingParser.

Great work, a little suggestion though. You could group the 3 settings

pages in the same submenu, i think it would be more intuitive, something

like:

- Browser

    - Formatter

    - Code Highlighter

       - HyperLinks

       - Highlighter

       - Styles

 

Cheers, Emiliano.

 

 

[hidden email] escribió:

> To Anyone Interested:

> I have made a branch of the code highlighter (version 63.4.3).  I

> would greatly appreciate feedback from anyone who would like to try

> it.  It has quite a number of extensions and features over the

> existing one.

> The “current state of the art” is version 63 for VW7.6, of which

> branch 63.2 is the baseline for VW7.7.  My version is taken from 63.4,

> which incorporates hyperlink and spell checking highlighting, which is

> different from the VW7.7 baseline.  In the branch, both hyperlink

> highlighting and spell checking can be disabled, so it should not have

> an adverse impact on VW7.7.  The changes will work even if you don’t

> load the spell checker (it just ignores spell checking requests).

> The separate highlighter dialog has been removed in favor of doing

> things directly in the settings manager.  All the controls are on a

> page under the Tools > Browser page.  The highlighting settings are

> closer to the code highlighter in Envy, giving a few more options for

> highlighting, such as block or parenthesis depth.  In addition, you

> can now create your own styles by adding a style description, then

> finding a way to use it (say, by updating the reduce actions in the

> grammar with SmaCC.)  The parser and scanner have been refactored

> slightly to support alternative Smalltalk language syntax – such as

> for GemStone.

> The 63.4.* branch is not load compatible with an existing highlighter

> version because it changes the way styles are modeled and applied. 

> You should unload any existing version before loading the new one. 

> You can then open the settings dialog to configure your settings.  If

> you had saved any specialized settings you were using, it should be

> able to import them through the style-sheet drop-down on the Tools >

> Browser > Styles page, augmenting them with the additional styles that

> have been added.  [Eventually, this drop down will go away in favor of

> the settings page load/save as XML capability.]

> See the package comment and blessing comments for the short list of

> what changed.

 

_______________________________________________

vwnc mailing list

[hidden email]

http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

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 RB Code Highlighter

thomas.hawker

Terry,

 

Yes, it’s based off 7.6 (Travis’s version 63 is the VW7.6 base).

 

It might even be loadable in 7.7, but it’s based off a branch later than the 7.7 official release point and doesn’t integrate the latest 7.7 changes being made by Martin K.  (Those changes seem to genericize highlighting by making it an intrinsic capability of text controllers, which changes the way highlighting goes together and is installed.)

 

Cheers!

 

Tom Hawker

Senior Framework Developer

Home

+1 (408) 274-4128

Office

+1 (408) 576-6591

Mobile

+1 (408) 835-3643

 


From: Terry Raymond [mailto:[hidden email]]
Sent: Wednesday, December 03, 2008 10:58 AM
To: THOMAS HAWKER (DEV-ISDC-OUI/SNT); [hidden email]
Cc: [hidden email]
Subject: RE: [vwnc] Updated RB Code Highlighter

 

Tom

 

Is this loadable in VW 7.6?

 

Terry

===========================================================
Terry Raymond
Crafted Smalltalk
80 Lazywood Ln.
Tiverton, RI  02878
(401) 624-4517      [hidden email]
<http://www.craftedsmalltalk.com>
===========================================================


From: [hidden email] [mailto:[hidden email]] On Behalf Of [hidden email]
Sent: Wednesday, December 03, 2008 1:27 PM
To: [hidden email]; [hidden email]
Cc: [hidden email]
Subject: Re: [vwnc] Updated RB Code Highlighter

 

All,

 

Updated code highlighter problems have been fixed - use version 63.4.4.

 

·         Unknown prerequisite reference has been removed (it wasn't used in the public repository version).

·         Unloadable definitions were remove.  Somehow they had been misplaced outside their private package.

·         I’ve reworked the settings pages similar to Emiliano’s suggestion.

 

I tried loading this into a “blank” image and none of the problems repeated.

 

Cheers!

 

Tom Hawker

--------------------------

Senior Framework Developer

--------------------------

Home  +1 (408) 274-4128

Office      +1 (408) 576-6591

Mobile      +1 (408) 835-3643

 

 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Emiliano Pérez
Sent: Wednesday, December 03, 2008 8:59 AM
To: vwnc-list
Subject: Re: [vwnc] Updated RB Code Highlighter

 

Hi, trying it right now. I really like the new settings disposition (and

the fact that there are multiple predefined styles to choose).

Something to notice, when loading in a clean 7.6 image it throws a

prerequisite failure dialog:

"Unable to load prerequisite Base Visualwork Fixes".

If you click yes, when it finishes loading, it throws a bunch of

unloadable definitions, all for GemStoneCodehighlightingParser.

Great work, a little suggestion though. You could group the 3 settings

pages in the same submenu, i think it would be more intuitive, something

like:

- Browser

    - Formatter

    - Code Highlighter

       - HyperLinks

       - Highlighter

       - Styles

 

Cheers, Emiliano.

 

 

[hidden email] escribió:

> To Anyone Interested:

> I have made a branch of the code highlighter (version 63.4.3).  I

> would greatly appreciate feedback from anyone who would like to try

> it.  It has quite a number of extensions and features over the

> existing one.

> The “current state of the art” is version 63 for VW7.6, of which

> branch 63.2 is the baseline for VW7.7.  My version is taken from 63.4,

> which incorporates hyperlink and spell checking highlighting, which is

> different from the VW7.7 baseline.  In the branch, both hyperlink

> highlighting and spell checking can be disabled, so it should not have

> an adverse impact on VW7.7.  The changes will work even if you don’t

> load the spell checker (it just ignores spell checking requests).

> The separate highlighter dialog has been removed in favor of doing

> things directly in the settings manager.  All the controls are on a

> page under the Tools > Browser page.  The highlighting settings are

> closer to the code highlighter in Envy, giving a few more options for

> highlighting, such as block or parenthesis depth.  In addition, you

> can now create your own styles by adding a style description, then

> finding a way to use it (say, by updating the reduce actions in the

> grammar with SmaCC.)  The parser and scanner have been refactored

> slightly to support alternative Smalltalk language syntax – such as

> for GemStone.

> The 63.4.* branch is not load compatible with an existing highlighter

> version because it changes the way styles are modeled and applied. 

> You should unload any existing version before loading the new one. 

> You can then open the settings dialog to configure your settings.  If

> you had saved any specialized settings you were using, it should be

> able to import them through the style-sheet drop-down on the Tools >

> Browser > Styles page, augmenting them with the additional styles that

> have been added.  [Eventually, this drop down will go away in favor of

> the settings page load/save as XML capability.]

> See the package comment and blessing comments for the short list of

> what changed.

 

_______________________________________________

vwnc mailing list

[hidden email]

http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

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.
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