code block trigger string doesnt work when first character is ";"
- 
 any workaround? my compiler uses ; for comments so making this work would help. my other option is enclose the trigger string into .comment and .endc. tags :/ any help would be much appreciatd. thanks in advance guys. :) 
- 
 sorry don’t understand your question? 
 Could you clarify it? Maybe with a screenshot?Cheers 
 Claudia
- 
 you can define what string you want to use for code folding, you can define what string will trigger the start of a foldable block and what will be the end of it. if this string starts with “;” then the “+” sign for folding never appears. so for example “codeblockstart” works but “;clodeblockstart” doesnt. 
- 
 so you talking about udl, do you? 
 If so, did you try semicolon followed by a space as folding in comment line open chars?
 Seems to work.Cheers 
 Claudia
- 
 yes, this is for a user defined language. tried now with space still doesnt work. what version you have ? I have v6.9.2. on win 8.1. 
- 
 btw a few years ago this worked 
- 
 
- 
P PeterJones referenced this topic on 
- 
 Future Readers, As mentioned in a 2023 follow-on conversation: the “problem” was because ;was defined as the start of a comment for comment-highlighting. The UDL parser doesn’t look for Fold in code 1 or Fold in code 2 keywords for folding when they are contained in Comment lines. Instead, if;is defined as the start-of-comment-line in the Comment & Number tab, then on the Folder & Default tab, you can define Folding in comment’s open/close pair, and that will allow a special keyword pair to work for folding using comments to start and end the folding. This is true in 2023’s v8.5.3, and this was true in 2016’s v6.9.2.Follow-up discussion on this should go in the follow-on conversation rather than in this ancient conversation, which is being locked. 
- 
P PeterJones locked this topic on 

