Addand fix bug #59
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@612 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
родитель
4dfaf93bcd
Коммит
5050aa6ae7
2
BUGS
2
BUGS
@ -105,6 +105,8 @@
|
||||
Krebs (57) [FIXED].
|
||||
- File browser aborts on Solaris in qsort() call. (Reported by
|
||||
Matthias Andree) (58) [FIXED].
|
||||
- Can modify the current file in view mode with ^W^R (discovered by Rocco
|
||||
Corsi) (58) [FIXED].
|
||||
|
||||
** Open BUGS **
|
||||
|
||||
|
@ -37,6 +37,9 @@ Cvs code -
|
||||
- search.c:
|
||||
do_gotoline()
|
||||
- Optimizations, remove "$" goes-to-last-line, less messages (Rocco)
|
||||
do_replace()
|
||||
- If we manage to make it in somehow with VIEW_MODE on, abort
|
||||
nicely (fixes BUG #59).
|
||||
|
||||
nano 1.1 tree forked here 04/07/2001
|
||||
|
||||
|
1
proto.h
1
proto.h
@ -147,6 +147,7 @@ void do_replace_highlight(int highlight_flag, char *word);
|
||||
void nano_disabled_msg(void);
|
||||
void window_init(void);
|
||||
void do_mouse(void);
|
||||
void print_view_warning(void);
|
||||
|
||||
#ifdef ENABLE_NANORC
|
||||
void do_rcfile(void);
|
||||
|
6
search.c
6
search.c
@ -586,6 +586,12 @@ int do_replace(void)
|
||||
filestruct *begin;
|
||||
char *prevanswer = NULL, *buf = NULL;
|
||||
|
||||
if (ISSET(VIEW_MODE)) {
|
||||
print_view_warning();
|
||||
replace_abort();
|
||||
return 0;
|
||||
}
|
||||
|
||||
i = search_init(1);
|
||||
switch (i) {
|
||||
case -1:
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user