On Dec 4, 2005, at 1:22 AM, Allan Odgaard wrote:

You could do something like this instead:


   symbolTransformation = '

      s/^\W.*/-/m;

      s/(\w+(?:\W+\w+){,7})\W*(.+)?/$1(?2:…)/m;

   ';



Hm, doesn't work over here. Tried these lines:
{

markdown will pick up

this line

And this too

works well with long lines though, puts the ellipses as promised

}

It actually picks up all these lines, and does the ellipses nicely. This is how my preferences file looks:

/* preferences */
{    showInSymbolList = '1';
    symbolTransformation = '
    s/^\W.*/-/m;
    s/(\w+(?:\W+\w+){,7})\W*(.+)?/$1(?2:…)/m;
   ';
}

Haris