Fixed column pattern bug/crash on relationship form (issue #245)

Minor improvements on SyntaxHighlighter