Could it be the Beautifier issue?
Try to uncheck every ckeckbox in Prefs\User interface\PLSQL beautifier, remove rules file, restart program and try experiment again.