changed StopSync into Sync with argument
invoke SetLexer with fold option