To: vim_dev@googlegroups.com Subject: Patch 7.4.1990 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1990 (after 7.4.1952) Problem: Cscope items are not sorted. Solution: Put the new "a" command first. (Ken Takata) Files: src/if_cscope.c *** ../vim-7.4.1989/src/if_cscope.c 2016-07-01 17:17:13.286266820 +0200 --- src/if_cscope.c 2016-07-05 22:24:46.981086902 +0200 *************** *** 70,76 **** { "add", cs_add, N_("Add a new database"), "add file|dir [pre-path] [flags]", 0 }, { "find", cs_find, ! N_("Query for a pattern"), "find c|d|e|f|g|i|s|t|a name", 1 }, { "help", cs_help, N_("Show this message"), "help", 0 }, { "kill", cs_kill, --- 70,76 ---- { "add", cs_add, N_("Add a new database"), "add file|dir [pre-path] [flags]", 0 }, { "find", cs_find, ! N_("Query for a pattern"), "find a|c|d|e|f|g|i|s|t name", 1 }, { "help", cs_help, N_("Show this message"), "help", 0 }, { "kill", cs_kill, *************** *** 126,132 **** { const char *query_type[] = { ! "c", "d", "e", "f", "g", "i", "s", "t", "a", NULL }; /* Complete with query type of ":cscope find {query_type}". --- 126,132 ---- { const char *query_type[] = { ! "a", "c", "d", "e", "f", "g", "i", "s", "t", NULL }; /* Complete with query type of ":cscope find {query_type}". *************** *** 1351,1356 **** --- 1351,1357 ---- cmdp->usage); if (strcmp(cmdp->name, "find") == 0) MSG_PUTS(_("\n" + " a: Find assignments to this symbol\n" " c: Find functions calling this function\n" " d: Find functions called by this function\n" " e: Find this egrep pattern\n" *************** *** 1358,1365 **** " g: Find this definition\n" " i: Find files #including this file\n" " s: Find this C symbol\n" ! " t: Find this text string\n" ! " a: Find assignments to this symbol\n")); cmdp++; } --- 1359,1365 ---- " g: Find this definition\n" " i: Find files #including this file\n" " s: Find this C symbol\n" ! " t: Find this text string\n")); cmdp++; } *** ../vim-7.4.1989/src/version.c 2016-07-04 22:29:22.083959832 +0200 --- src/version.c 2016-07-05 22:25:57.944032679 +0200 *************** *** 760,761 **** --- 760,763 ---- { /* Add new patch number below this line */ + /**/ + 1990, /**/ -- hundred-and-one symptoms of being an internet addict: 204. You're being audited because you mailed your tax return to the IRC. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///