Changed default text hinting.

Added Dart and Objective-C support.
ecode: Show folder name in window title when opening a folder/project.
This commit is contained in:
Martín Lucas Golini
2021-09-12 00:42:08 -03:00
parent b9518a4693
commit 4cf65c66bc
4 changed files with 80 additions and 8 deletions

View File

@@ -112,7 +112,11 @@ void App::updateEditorTitle( UICodeEditor* editor ) {
}
void App::setAppTitle( const std::string& title ) {
mWindow->setTitle( mWindowTitle + String( title.empty() ? "" : " - " + title ) );
mWindow->setTitle( mWindowTitle +
String( mCurrentProject.empty()
? ""
: " - " + FileSystem::fileNameFromPath( mCurrentProject ) ) +
String( title.empty() ? "" : " - " + title ) );
}
void App::onDocumentModified( UICodeEditor* editor, TextDocument& ) {