Mercurial > vim
comparison src/gui.c @ 825:6675076019ae v7.0d
updated for version 7.0d
author | vimboss |
---|---|
date | Mon, 10 Apr 2006 14:55:34 +0000 |
parents | 8dd456c1e283 |
children | fd1b3406fd1c |
comparison
equal
deleted
inserted
replaced
824:8dd456c1e283 | 825:6675076019ae |
---|---|
4929 msg_end_prompt(); | 4929 msg_end_prompt(); |
4930 | 4930 |
4931 if (u_save_cursor() == OK) | 4931 if (u_save_cursor() == OK) |
4932 { | 4932 { |
4933 /* A button was pressed thus undo should be synced. */ | 4933 /* A button was pressed thus undo should be synced. */ |
4934 if (no_u_sync == 0) | 4934 u_sync(FALSE); |
4935 u_sync(); | |
4936 | 4935 |
4937 del_bytes((long)(regmatch.endp[0] - regmatch.startp[0]), | 4936 del_bytes((long)(regmatch.endp[0] - regmatch.startp[0]), |
4938 FALSE, FALSE); | 4937 FALSE, FALSE); |
4939 ins_str(repl_text); | 4938 ins_str(repl_text); |
4940 } | 4939 } |
4946 } | 4945 } |
4947 | 4946 |
4948 if (type == FRD_REPLACEALL) | 4947 if (type == FRD_REPLACEALL) |
4949 { | 4948 { |
4950 /* A button was pressed, thus undo should be synced. */ | 4949 /* A button was pressed, thus undo should be synced. */ |
4951 if (no_u_sync == 0) | 4950 u_sync(FALSE); |
4952 u_sync(); | |
4953 do_cmdline_cmd(ga.ga_data); | 4951 do_cmdline_cmd(ga.ga_data); |
4954 } | 4952 } |
4955 else | 4953 else |
4956 { | 4954 { |
4957 /* Search for the next match. */ | 4955 /* Search for the next match. */ |