mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-02 19:46:29 +03:00
Added syntax highlighting for: Bazel, Ring, OpenSCAD and TCL.
Moved most languages to a separate module that it's not part of the base eepp module.
This commit is contained in:
@@ -18,9 +18,11 @@
|
||||
#include <args/args.hxx>
|
||||
#include <eepp/graphics/fontfamily.hpp>
|
||||
#include <eepp/system/iostreammemory.hpp>
|
||||
#include <eepp/ui/doc/languagessyntaxhighlighting.hpp>
|
||||
#include <filesystem>
|
||||
#include <iostream>
|
||||
#include <nlohmann/json.hpp>
|
||||
|
||||
#if EE_PLATFORM == EE_PLATFORM_LINUX
|
||||
// For malloc_trim, which is a GNU extension
|
||||
extern "C" {
|
||||
@@ -3643,7 +3645,8 @@ void App::init( const LogLevel& logLevel, std::string file, const Float& pidelDe
|
||||
IconManager::init( mUISceneNode, iconFont, mimeIconFont, codIconFont );
|
||||
|
||||
Clock defClock;
|
||||
SyntaxDefinitionManager::createSingleton();
|
||||
SyntaxDefinitionManager::createSingleton( 104 );
|
||||
Language::LanguagesSyntaxHighlighting::load();
|
||||
SyntaxDefinitionManager::instance()->setLanguageExtensionsPriority(
|
||||
mConfig.languagesExtensions.priorities );
|
||||
Log::info( "Syntax definitions loaded in %.2f ms.",
|
||||
|
||||
Reference in New Issue
Block a user