* Fixed an old vi bug: If a vi command that yanked or deleted part of a line

was followed by an ex command that also yanked or deleted some text, a
  following 'p' vi command pasted the text affected by the former vi command.
  It now pastes the text of the last yank or delete even if that was an ex
  command.
This commit is contained in:
Gunnar Ritter
2005-01-02 14:58:49 +00:00
parent 34bb648726
commit 6b5d023516
5 changed files with 23 additions and 12 deletions

View File

@@ -70,7 +70,7 @@
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* @(#)ex_proto.h 1.24 (gritter) 12/1/04
* @(#)ex_proto.h 1.25 (gritter) 1/2/05
*/
/*
@@ -475,6 +475,7 @@ extern void vshift(int);
extern void vrep(register int);
extern void vyankit(int);
extern void setpk(void);
extern void vkillDEL(void);
/* ex_vops2.c */
extern void bleep(register int, char *);
extern int vdcMID(void);