ckeditor 4 is not an understandable sub-version (rewritten and deleted version information). I installed the codesnippet plugin for it, which in turn required widget and lineutils plugins. He put them there, then he swears:
Uncaught TypeError: CKEDITOR.style.addCustomHandler is not a function
Uncaught TypeError: CKEDITOR.tools.objectKeys is not a function
What is wrong doing? Version of ckeditor and plugin does not match? Added to config
config.extraPlugins = 'codesnippet';