Menu

Defining a user defined language starting and ending a block with same keyword

2014-09-15
2014-09-15
  • Thomas Schweikle

    Hi I after trying google and others ... how can I define a user defined language with foldable blocks beginning and ending with the same keyword? aka:

    name=xxx
    something other
    another thing
    name=yyy
    something other
    another thing
    another thing
    something else
    name=zzz
    ...
    

    The first block:

    name=xxx
    something other
    another thing
    

    Second block:

    name=yyy
    something other
    another thing
    another thing
    something else
    

    Third block:

    name=zzz
    ...
    

    And folded:

    name=xxx
    name=yyy
    name=zzz
    

    A block begins right with name=xxx and ends the line before the next name=xxx.

     
  • Loreia2

    Loreia2 - 2014-09-15

    Hi Thomas,

    this is not possible in UDL2.
    It is planned as a new feature in UDL 3.0.

    Regards,
    Loreia