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!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login