Change implementation of strsyntax()

Remove cursor move process. And fix when 'whichwrap-=l'.