The pattern for class entered a endline when closing the parenthesis.

When typing the last parenthesis of a class a new line was immediatly entered without the colon being entered. This change copies the pattern from the function end pattern preventing the new line to be entered before you enter the colon.