MDI: add asterisk (*) for unsaved files
Windows visual diff and merge for files and directories
Brought to you by:
christianlist,
grimmdp
Hello,
I can implement this feature requests. Please assign it to me.
Thank you
Hello,
--- Src/MergeDoc.cpp (revision 7517)
+++ Src/MergeDoc.cpp (working copy)
@@ -2774,6 +2774,10 @@
sTitle += ext.c_str();
}
}
+
+ if (m_ptBuf[0]->IsModified() || m_ptBuf[1]->IsModified()) {
+ sTitle.insert(0, _T("* "));
+ }
}
CDocument::SetTitle(sTitle.c_str());
}
Thank you
Move to "Patch" tracker...
patch file
Looks like a good idea.
Lot's of programs does this, so it makes good sense that WinMerge does it too.
I looked a little closer at this, it appears that the asterisk is always placed at the start of the line. This makes it difficult to tell if it was one or the other file that changed.
I've attached an improved patch which adds an asterisk in front of each file name if it is modified.
This makes it easy to see which file was modified in each pane.