Rocco's latest spellcheck fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@282 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
442f2c5156
commit
022b96f941
4
search.c
4
search.c
|
@ -461,10 +461,8 @@ int do_replace_loop(char *prevanswer, filestruct *begin, int *beginx,
|
||||||
fileptr = findnextstr(replaceall, begin, *beginx, prevanswer);
|
fileptr = findnextstr(replaceall, begin, *beginx, prevanswer);
|
||||||
|
|
||||||
/* No more matches. Done! */
|
/* No more matches. Done! */
|
||||||
if (!fileptr) {
|
if (!fileptr)
|
||||||
wrefresh(edit);
|
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
|
|
||||||
/* Make sure only wholewords are found */
|
/* Make sure only wholewords are found */
|
||||||
if (wholewords)
|
if (wholewords)
|
||||||
|
|
3
winio.c
3
winio.c
|
@ -263,6 +263,9 @@ int nanogetstr(int allowtabs, char *buf, char *def, shortcut s[], int slen,
|
||||||
|
|
||||||
nanoget_repaint(buf, inputbuf, x);
|
nanoget_repaint(buf, inputbuf, x);
|
||||||
|
|
||||||
|
/* Make sure any editor screen updates are displayed before getting input */
|
||||||
|
wrefresh(edit);
|
||||||
|
|
||||||
while ((kbinput = wgetch(bottomwin)) != 13) {
|
while ((kbinput = wgetch(bottomwin)) != 13) {
|
||||||
for (j = 0; j <= slen - 1; j++) {
|
for (j = 0; j <= slen - 1; j++) {
|
||||||
if (kbinput == s[j].val) {
|
if (kbinput == s[j].val) {
|
||||||
|
|
Loading…
Reference in New Issue