Minor improvements in UICodeEditor rendering.
Allow to limit the maximum line length accepted in the highlighter (will not highlight lines that are above the threshold).

ecode:
Allow to share processes between language LSPs that use the same process (for example: clangd for C and C++, it doesn't make sense to fire 2 processes because clangd will manage both languages just fine in a single instance).
Fixed some bugs when selecting the build type.
This commit is contained in:
Martín Lucas Golini
2023-05-12 14:06:44 -03:00
parent a37d3c2717
commit 168a7babaa
10 changed files with 104 additions and 45 deletions

View File

@@ -121,6 +121,7 @@ void StatusBuildOutputController::runBuild( const std::string& buildName,
mContainer->getDocument().setSyntaxDefinition( synDef );
mContainer->getVScrollBar()->setValue( 1.f );
mContainer->getDocument().getHighlighter()->setMaxTokenizationLength( 2048 );
UIPushButton* buildButton = getBuildButton( mApp );
if ( buildButton )