A new version of Code Folding has been uploaded to the Forum https://forums.livecode.com/viewtopic.php?f=9&t=38912&p=229971#p229971 It addresses a couple of bugs and has been tested to work from 9.6.9 up to 9.6.12 (RC1) and 10.0.0 (DP8) Kind regards Bernd