mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-10-01 10:40:20 +03:00
Refactor in LineWrap operations enums and structs, moved everything into linewrap.hpp.
Revisiting some old code, the Map Editor, many things are not properly layouted, I might fix it later, for the moment a few minor fixes. Fix build output and app output highlighting. Fix isStopSelChar used in UITextInput for text selection (double click).
This commit is contained in:
@@ -158,9 +158,10 @@ void StatusBuildOutputController::runBuild( const std::string& buildName,
|
||||
patterns.emplace_back(
|
||||
SyntaxPattern( { "%d%d%d%d%-%d%d%-%d%d%s%d%d%:%d%d%:%d%d%:[^\n]+" }, "notice" ) );
|
||||
|
||||
SyntaxDefinition synDef( "custom_build", {}, std::move( patterns ) );
|
||||
auto syntaxDef = std::make_shared<SyntaxDefinition>( "custom_build", std::vector<std::string>{},
|
||||
std::move( patterns ) );
|
||||
|
||||
mBuildOutput->getDocument().setSyntaxDefinition( synDef );
|
||||
mBuildOutput->getDocument().setSyntaxDefinition( syntaxDef );
|
||||
mBuildOutput->getVScrollBar()->setValue( 1.f );
|
||||
mBuildOutput->getDocument().getHighlighter()->setMaxTokenizationLength( 2048 );
|
||||
mBuildOutput->setLineWrapMode( LineWrapMode::Word );
|
||||
|
||||
Reference in New Issue
Block a user