First steps in supporting color fonts.

Some minor fixes to build with emscripten.
This commit is contained in:
Martín Lucas Golini
2022-02-08 03:06:35 -03:00
parent 4a23c59b46
commit 7a221d19c1
12 changed files with 167 additions and 58 deletions

View File

@@ -1056,7 +1056,9 @@ void App::syncProjectTreeWithEditor( UICodeEditor* editor ) {
std::string path = editor->getDocument().getFilePath();
if ( path.size() >= mCurrentProject.size() ) {
path = path.substr( mCurrentProject.size() );
mProjectTreeView->setFocusOnSelection( false );
mProjectTreeView->selectRowWithPath( path );
mProjectTreeView->setFocusOnSelection( true );
}
}
}