diff --git a/runtime/doc/if_pyth.txt b/runtime/doc/if_pyth.txt index e3822ec0a89720c96ff25cfdbd93a238cded9611..953d95b8d5e75ac2356c35349267a33c58dee703 100644 --- a/runtime/doc/if_pyth.txt +++ b/runtime/doc/if_pyth.txt @@ -1,4 +1,4 @@ -*if_pyth.txt* For Vim version 7.3b. Last change: 2010 Jul 20 +*if_pyth.txt* For Vim version 7.3b. Last change: 2010 Jul 21 VIM REFERENCE MANUAL by Paul Moore @@ -335,7 +335,7 @@ sure edit "gvim.exe" and search for "python\d*.dll\c". Python 3 support can exist next to Python 2.x. -*:py3* *:py3file* +*:py3* *:python3* *:py3file* TODO diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt index 0928e87fdae89f0b10951f1b9faad1b462ce94b5..c82605c47ab0e332237acce532f9eff69fae9cec 100644 --- a/runtime/doc/index.txt +++ b/runtime/doc/index.txt @@ -1,4 +1,4 @@ -*index.txt* For Vim version 7.3b. Last change: 2010 Jul 20 +*index.txt* For Vim version 7.3b. Last change: 2010 Jul 21 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1383,7 +1383,8 @@ The commands are sorted on the non-optional part of their name. |:put| :pu[t] insert contents of register in the text |:pwd| :pw[d] print current directory |:py3| :py3 execute Python 3 command -|:p3yfile| :py3f[ile] execute Python 3 script file +|:python3| :python3 same as :py3 +|:py3yfile| :py3f[ile] execute Python 3 script file |:python| :py[thon] execute Python command |:pyfile| :pyf[ile] execute Python script file |:quit| :q[uit] quit current window (when one window quit Vim) diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index 9e2e3132e31216bb248f5e8c45c5205eb311c439..0b736ba069d0fe1c5739228ae5357fb74e5da6c7 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -30,6 +30,10 @@ be worked on, but only if you sponsor Vim development. See |sponsor|. *known-bugs* -------------------- Known bugs and current work ----------------------- +Include patch for horizontal scoll wheel? (Bjorn Winckler, 2010 Jul 20) + +Patch for Dynamic loading for Perl. (James Vega, 2010 Jul 20) + Cursor positioning wrong with 0x200e character. (John Becket, 2010 May 6) Test 69 breaks on MS-Windows, both 32 and 64 builds. (George Reilly, 2010 Feb diff --git a/src/ex_cmds.h b/src/ex_cmds.h index e45796f69e73e59935a5c99fdf761d140f015a13..ee9098ae655da2cb44737f0603307310ff6671d4 100644 --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -743,6 +743,8 @@ EX(CMD_pyfile, "pyfile", ex_pyfile, RANGE|FILE1|NEEDARG|CMDWIN), EX(CMD_py3, "py3", ex_py3, RANGE|EXTRA|NEEDARG|CMDWIN), +EX(CMD_python3, "python3", ex_py3, + RANGE|EXTRA|NEEDARG|CMDWIN), EX(CMD_py3file, "py3file", ex_py3file, RANGE|FILE1|NEEDARG|CMDWIN), EX(CMD_quit, "quit", ex_quit, diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 2d1a893d5a0de9c9880ae7fc7d2786d945a0cf28..760ac64983483e304b2908911633d67b9d9128f7 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -2563,6 +2563,7 @@ do_one_cmd(cmdlinep, sourcing, case CMD_psearch: case CMD_python: case CMD_py3: + case CMD_python3: case CMD_return: case CMD_rightbelow: case CMD_ruby: @@ -2825,9 +2826,10 @@ find_command(eap, full) { while (ASCII_ISALPHA(*p)) ++p; - /* for python 3.x support ":py3" (and ":py4" :-) */ + /* for python 3.x support ":py3", ":python3", ":py3file", etc. */ if (eap->cmd[0] == 'p' && eap->cmd[1] == 'y') - p = skipdigits(p); + while (ASCII_ISALNUM(*p)) + ++p; /* check for non-alpha command */ if (p == eap->cmd && vim_strchr((char_u *)"@*!=><&~#", *p) != NULL)