Imported and adapted from Introjucer (.h/.cpp): CodeHelpers, Colours, FileHelpers, DocumentEditorComponent, FilePreviewComponent, SourceCodeEditor, OpenDocumentManager