UDL for fortune

  • I’m trying to define a custom language for fortune
    The language is super simple:

    Lorem ipsum dolor sit amet, consectetur adipisci elit, sed do eiusmod tempor incidunt ut labore et dolore magna aliqua.
    Ut enim ad minim veniam, quis nostrum exercitationem ullamco laboriosam, nisi ut aliquid ex ea commodi consequatur.
    Duis aute irure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
    Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
    fortune 2
    fortune 3

    I tried using the character % as opener and closer but when collapsing, it will collapse all until the end of the file.

  • The language is super simple:

    It might be a super-simple language; however, the UDL folding was set up to require two different sequences as the start and stop for folding. There is no easy way that I know of to accomplish what you want.

    (It might be doable using one of the scripting plugins, but editing folding via scripting goes beyond my skillset.)

  • @PeterJones Thanks for the clarification!

Log in to reply