]> git.mdlowis.com Git - projs/tide.git/commitdiff
reordered options for resolving external file changes
authorMichael D. Lowis <mike.lowis@gentex.com>
Thu, 25 May 2017 19:42:16 +0000 (15:42 -0400)
committerMichael D. Lowis <mike.lowis@gentex.com>
Thu, 25 May 2017 19:42:16 +0000 (15:42 -0400)
TODO.md
xedit.c

diff --git a/TODO.md b/TODO.md
index 8d692914796f9f40da89020be241d5764ede8610..8bdfb53ee626125802e7bc918dccf0d7f470913b 100644 (file)
--- a/TODO.md
+++ b/TODO.md
@@ -4,7 +4,6 @@ Up Next:
 
 * ctrl+d with no selection does word selection instead of context
 * add config option to change default tab style
-* Diagnostic messages should order options so most frequent is closest to cursor
 * get rid of edit wrapper script
 * Add a way to CD using a builtin
 * Ctrl+Shift+N to set a mark, Ctrl+N to jump to a mark
diff --git a/xedit.c b/xedit.c
index e04440609dccae1c7e8038c1bd152e3b002b4de3..3cf472ae30c0e06eefc35cb2f0cc09d0d178b7aa 100644 (file)
--- a/xedit.c
+++ b/xedit.c
@@ -149,7 +149,7 @@ static void quit(void) {
 static bool changed_externally(Buf* buf) {
     bool modified = (buf->modtime != modtime(buf->path));
     if (modified)
-        ondiagmsg("File modified externally: Reload, Overwrite, or {SaveAs }");
+        ondiagmsg("File modified externally: {SaveAs } Overwrite Reload");
     return modified;
 }