Created `Editor` class as code edit widget.

The `Editor` class is located under subdir `widgets/`, inherited from
`QPlainTextEdit`.