Folging in custom Language
- 
 I create custom Language for read specify file. I need add Folding. In my Language (K-file for LS-DYNA) exist open keyword, but don’exist close keywird. For example, part of File: […] 
 *NODE
 1-2.300000000E-02 1.000000000E-03 0.000000000E+00 0 0
 2-2.300000000E-02 1.000000000E-03 2.300000000E-02 0 0
 3-2.300000000E-02 1.000000000E-03 5.897435897E-04 0 0
 [over 9000 lines]
 10032-2.240337932E-02 3.333333333E-04 1.179455726E-03 0 0
 10033-2.240450559E-02 6.666666667E-04 5.896325645E-04 0 0
 10034-2.240450559E-02 3.333333333E-04 5.896247027E-04 0 0
 $
 $
 $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
 $ SECTION DEFINITIONS $
 $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
 $
 *SECTION_SHELL
 1 10 0.8333 5.0 0.0 0.0 0
 0.100E-03 0.100E-03 0.100E-03 0.100E-03 0.00
 *SECTION_SOLID
 2 1
 […]$ is Comment. I need folding 9000 lines after *NODE. If I type $ as Connent, Folding is not working. P.S. Sorry for bad English 
- 
 I am not sure what you need, but I’ll offer atip that might help. I think you might want to be able to fold *<section> up to some following section? You say there is no closing keyword and that “$” begins a comment. If that is all correct, then perhaps you can create a closing keyword like this: [...] *NODE 1-2.300000000E-02 1.000000000E-03 0.000000000E+00 0 0 ... 10034-2.240450559E-02 3.333333333E-04 5.896247027E-04 0 0 $SECTION_END $ $ $ SECTION DEFINITIONS $ $ ...Here, I am using the comment “$SECTION_END” as an end-of-folding keyword. Maybe this will work for you? 
