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:
To load the new capabilities, do the following:
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.
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!
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
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]
-- 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 |
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!
From: Karsten [mailto:[hidden email]]
Hi Thomas, 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:
To load the new capabilities, do the following:
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.
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!
_______________________________________________ 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 |
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 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 |
Free forum by Nabble | Edit this page |