file path tooltips in tabs - implement #299

This commit is contained in:
Vadim Lopatin 2017-09-20 10:39:53 +03:00
parent 63c2ec36e5
commit bf95fe49e0
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@
"stringImportPaths": ["views"], "stringImportPaths": ["views"],
"dependencies": { "dependencies": {
"dlangui": "==0.9.140", "dlangui": "==0.9.141",
"dsymbol": "~>0.2.9", "dsymbol": "~>0.2.9",
"dcd": "~>0.9.1" "dcd": "~>0.9.1"
}, },

View File

@ -431,7 +431,7 @@ class IDEFrame : AppFrame, ProgramExecutionStatusListener, BreakpointListChangeL
// open new file // open new file
DSourceEdit editor = new DSourceEdit(filename); DSourceEdit editor = new DSourceEdit(filename);
if (file ? editor.load(file) : editor.load(filename)) { if (file ? editor.load(file) : editor.load(filename)) {
_tabs.addTab(editor, toUTF32(baseName(filename)), null, true); _tabs.addTab(editor, toUTF32(baseName(filename)), null, true, filename.toUTF32);
index = _tabs.tabIndex(filename); index = _tabs.tabIndex(filename);
TabItem tab = _tabs.tab(filename); TabItem tab = _tabs.tab(filename);
tab.objectParam = file; tab.objectParam = file;

View File

@ -1 +1 @@
v0.7.86 v0.7.87