Not signed in (Sign In)

Categories

Vanilla 1.1.1 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorkib2
    • CommentTimeJan 19th 2007
     permalink

    Hi,
    I was just typing my first reST document whith InType 0.2.0.231 when I saw a bug :

    • File/New and set reStructuredText as syntax ;
    • Copy this text —>Intype 0.2.0.231<— (without the arrows)
    • Go back to InType and type —>sec<— then tab (or Bundles/reStructuredText/section1);
    • Now, paste your copied text.

    What you have is :

    Intype 0.2.0.231 ====.=.=.===

    But it should be:

    Intype 0.2.0.231 ============

    • CommentAuthori
    • CommentTimeJan 19th 2007 edited
     permalink

    Just open bundles\reStructuredText.itBundle\snippets\section1.itSnippet and change this line:
    ${1/(\w)|\s/(?1:=:=)/g} to
    ${1/(.)|\s/(?1:=:=)/g}
    If you just want it to underline everything with the “=” symbol, just this would suffice:
    ${1/./=/g}

    • CommentAuthorkib2
    • CommentTimeJan 19th 2007 edited
     permalink

    Thanks idyllrain, that fixes the problem.
    You just have to do that for all section1.itSnippet, section2.itSnippet and section3.itSnippet, as the bug is general :

    ${1/(.)|\s/(?1:=:=)/g} --> inside section1.itSnippet ${1/(.)|\s/(?1:*:*)/g} --> inside section2.itSnippet ${1/(.)|\s/(?1:-:-)/g} --> inside section3.itSnippet

    • CommentAuthori
    • CommentTimeJan 19th 2007
     permalink

    (nods)

    I’ve updated my post above yours with a simpler regex. :)