Fix tab change on syntax validation