diff --git a/NEWS.md b/NEWS.md index 51c77552..d4753ba4 100644 --- a/NEWS.md +++ b/NEWS.md @@ -167,6 +167,7 @@ Red Panda C++ Version 2.27 - fix: Fail to evaluate expressions if macro can't be expanded. - enhancement: New menu item "Code completion" in "Code" menu. - fix: Can't compile / run assembly files in gcc 13/14 . + - enhancement: Show full filepath in the tooltip of editor tab. Red Panda C++ Version 2.26 - enhancement: Code suggestion for embedded std::vectors. diff --git a/RedPandaIDE/editor.cpp b/RedPandaIDE/editor.cpp index 689a1fbe..99ea2fcc 100644 --- a/RedPandaIDE/editor.cpp +++ b/RedPandaIDE/editor.cpp @@ -5547,4 +5547,5 @@ void Editor::updateCaption(const QString& newCaption) { } caption = caption.replace("&","&&"); mParentPageControl->setTabText(index,caption); + mParentPageControl->setTabToolTip(index, mFilename); }