Menu

#87 Small change to structured text

closed-fixed
None
5
2006-10-13
2006-10-12
Tim Gerundt
No

This patch do a small change to "structured text":

I get today a mail with a line like this "* This is a
*list* item". But the regex highlighted the text "*
This is a *". Which is in this case not wanted. ;)
Since I don't want to disable the space char generally
inside a /structured text/, I disable it at the beginnig:

*works*
*works to*
* invalid*
* invalid to*

Greetings,
Tim

Discussion

  • Tim Gerundt

    Tim Gerundt - 2006-10-12

    original and altered file

     
  • Tim Gerundt

    Tim Gerundt - 2006-10-13

    original and altered file (Version 2)

     
  • Tim Gerundt

    Tim Gerundt - 2006-10-13

    Logged In: YES
    user_id=652377

    Ok, I submit a new version from this patch! The old one was
    to greedy and you get wrong highlight with strings like
    "*bold* nobold *bold*". :-(
    But the new one seems to work much better. I also get rid of
    the [^*] rule. ;)

    Tim

     
  • Anonymous

    Anonymous - 2006-10-13
    • assigned_to: nobody --> goddess_skuld
    • status: open --> closed-fixed
     
  • Anonymous

    Anonymous - 2006-10-13

    Logged In: YES
    user_id=529507

    Fixed in CVS.

    It'll be included in next release.

    But you can download daily snapshots at :
    http://nocc.sourceforge.net/download/

    Thanks for the patch.

     

Log in to post a comment.