Mercurial > vim
view src/which.sh @ 29730:0eeab24d3faf v9.0.0205
patch 9.0.0205: cursor in wrong position when inserting after virtual text
Commit: https://github.com/vim/vim/commit/28c9f895716cfa8f1220bc41b72a534c0e10cabe
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 14 13:28:55 2022 +0100
patch 9.0.0205: cursor in wrong position when inserting after virtual text
Problem: Cursor in wrong position when inserting after virtual text. (Ben
Jackson)
Solution: Put the cursor after the virtual text, where the text will be
inserted. (closes #10914)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Aug 2022 14:30:04 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
#! /bin/sh # # which.sh -- find where an executable is located. It's here because the # "which" command is not supported everywhere. Used by Makefile. IFS=":" for ac_dir in $PATH; do if test -f "$ac_dir/$1"; then echo "$ac_dir/$1" break fi done