On 15-08-2005 14:22, Peter Vohmann wrote: > Any reasonable ideas how to write a foldingStartMarker pattern > that will _not_ trigger on the final line? Sure: foldingStartMarker = "(?i:(^\\s*loop|case|if))"; Jeroen. -- <http://www.je-ju.net/~jeroen/blog/>