Discussion:
[ANN] Colorer-take5.beta4 is ready
Igor Russkih
2005-04-29 10:03:58 UTC
Permalink
Hi all,

I've released an updated beta4 package.

Available in all versions: EclipseColorer, FarColorer, Development library and Linux build.

Here is a short changes list:

General:
- Memory usage improvements in editor (BaseEditor class).
- JAR unpacking sharing - memory and performance improvements in HRC loading from JAR files.
- New inner-region attribute in block allows to manage how scheme's
background region interacts with its other block regions.
- colorer.exe now outputs all region's hierarchy as token's class
value in tokenizing -ht mode(Wladimir Palant).

HRC syntaxes:
- External xml entities now has a .xml extension
- PHP/JSP/ASP inlining fixes.
- HRC regexp package fixes.
- SVG 1.0, PostScript, htc, parser, rdf, rss, xbl (Eugene Efremov).
- JavaCC (Giulio Piancastelli).
- Common packages regrouping.
- Basic ColdFusion support.
- Lisp fixes, outline (Mykolas Juraitis).
- FAR manager and Common RE schemes (Eugene Efremov).
- Sh, def, PHP, C, Perl fixes (Eugene Efremov).
- PHP functions regrouping (Alexey Kupershtokh).
- xhtml improvements (Eugene Efremov).

Eclipse Colorer 0.7.0
- Native library fails were fixed.
- Memory consumption reduced, some memory leaks were found.
- New View: HRC Region Tree.
- New Outliner Mode: Parse Tree.

FarColorer-take5.beta4
- 4ever options for quick disabling of cross, pairs and syntax highlight features.
- Failure on configuration reload was fixed.
- New configuration option to enable classic outline view (4ever-like).


For more information check
http://colorer.sf.net/whatsnew/history.html

Download at:
http://sourceforge.net/project/showfiles.php?group_id=34855

EclipseColorer update URL:
http://colorer.sf.net/eclipsecolorer/
--
Cail



-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix
Eugene Efremov
2005-04-30 14:27:23 UTC
Permalink
Hello, Igor!

On Fri, 29 Apr 2005 14:03:58 +0400 you wrote:

IR> I've released an updated beta4 package.
IR> - colorer.exe now outputs all region's hierarchy as token's class
IR> value in tokenizing -ht mode(Wladimir Palant).

src\shared\colorer\viewer\ParsedLineWriter.h str 38:
===============
String *token = region->getName()->replace(DString(":"),DString("_"));
===============
1. HRC regions can contains '.', not only ':'...
2. '_' deprecated in css. What about '-'?


WBR, Eugene.

P.S. hrd2css.xsl for current version (with '_' and '.' in output):

===============
<?xml version="1.0" ?>
<!DOCTYPE xsl:transform [
<!ENTITY separate "<xsl:text>&#10;</xsl:text>">
]>

<xsl:transform
version="1.0"
xmlns:h="http://colorer.sf.net/2003/hrd"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
<xsl:output method="text"/>
<xsl:strip-space elements="*"/>


<xsl:template match="h:assign">
&separate;
<xsl:text>.</xsl:text><xsl:value-of select="translate(@name,':','_')"/>
<!-- It's best, but don't support in colorer now:
<xsl:value-of select="translate(@name,':.','-
-')"/>
-->
&separate;
<xsl:text>{</xsl:text>
&separate;
<xsl:apply-templates select="@*"/>
<xsl:text>}</xsl:text>
&separate;
</xsl:template>


<xsl:template match="@fore">
<xsl:text> color: </xsl:text>
<xsl:value-of select="."/>
<xsl:text>;</xsl:text>
&separate;
</xsl:template>

<xsl:template match="@back">
<xsl:text> background-color: </xsl:text>
<xsl:value-of select="."/>
<xsl:text>;</xsl:text>
&separate; </xsl:template> <xsl:template match="@style"> <xsl:if test="(. mod 2) &gt;= 1">
<xsl:text> font-weight: bold; </xsl:text>
&separate; </xsl:if> <xsl:if test="((. div 2) mod 2) &gt;= 1">
<xsl:text> font-style: italic; </xsl:text>
&separate; </xsl:if> <xsl:if test="((. div 4) mod 2) &gt;= 1">
<xsl:text> text-decoration: underline; </xsl:text>
&separate;
</xsl:if>
</xsl:template>

<xsl:template match="@*"/>

</xsl:transform>
===============

-+- FARMail 3.0 for FAR 1.70
* e-mail: ***@mail.ru



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
Loading...