* The last release erroneously made 'X' work like 'x' in visual mode. It now

deletes the character before the cursor again as documented (Bugreport by
  Matthew Fischer).
This commit is contained in:
Gunnar Ritter 2005-01-19 12:27:38 +00:00
parent 3a23482887
commit cd458d267f
3 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,7 @@
Release ... Release ...
* The last release erroneously made 'X' work like 'x' in visual mode. It now
deletes the character before the cursor again as documented (Bugreport by
Matthew Fischer).
* When a multicolumn character was replaced by another multicolumn character * When a multicolumn character was replaced by another multicolumn character
in insert mode, the display was not updated appropriately with terminals in insert mode, the display was not updated appropriately with terminals
other than xterm. other than xterm.

View File

@ -70,12 +70,12 @@
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* *
* Sccsid @(#)ex_version.c 1.116 (gritter) 1/16/05 * Sccsid @(#)ex_version.c 1.117 (gritter) 1/19/05
*/ */
#include "ex.h" #include "ex.h"
static char *versionstring = "@(#)Version 4.0 (gritter) 1/16/05"; static char *versionstring = "@(#)Version 4.0 (gritter) 1/19/05";
void void
printver(void) printver(void)

View File

@ -73,7 +73,7 @@
#ifndef lint #ifndef lint
#ifdef DOSCCS #ifdef DOSCCS
static char sccsid[] = "@(#)ex_voper.c 1.24 (gritter) 1/11/05"; static char sccsid[] = "@(#)ex_voper.c 1.25 (gritter) 1/19/05";
#endif #endif
#endif #endif
@ -525,7 +525,8 @@ deleteit:
goto errlab; goto errlab;
vmacchng(1); vmacchng(1);
while (cnt > 0 && !margin()) { while (cnt > 0 && !margin()) {
wcursor += skipright(linebuf, wcursor); wcursor += dir > 0 ? skipright(linebuf, wcursor) :
skipleft(linebuf, wcursor);
cnt--; cnt--;
} }
opf = deleteop; opf = deleteop;