more last-minute comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2769 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
6ea410e14e
commit
85f6a2daab
|
@ -3088,8 +3088,10 @@ void edit_add(const filestruct *fileptr, const char *converted, int
|
||||||
* characters on a whole line. */
|
* characters on a whole line. */
|
||||||
size_t index;
|
size_t index;
|
||||||
/* Index in converted where we paint. */
|
/* Index in converted where we paint. */
|
||||||
regmatch_t startmatch; /* match position for start_regexp */
|
regmatch_t startmatch;
|
||||||
regmatch_t endmatch; /* match position for end_regexp */
|
/* Match position for start_regex. */
|
||||||
|
regmatch_t endmatch;
|
||||||
|
/* Match position for end_regex. */
|
||||||
|
|
||||||
if (tmpcolor->bright)
|
if (tmpcolor->bright)
|
||||||
wattron(edit, A_BOLD);
|
wattron(edit, A_BOLD);
|
||||||
|
@ -3145,7 +3147,7 @@ void edit_add(const filestruct *fileptr, const char *converted, int
|
||||||
k = startmatch.rm_eo;
|
k = startmatch.rm_eo;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
/* This is a multi-line regexp. There are two steps.
|
/* This is a multi-line regex. There are two steps.
|
||||||
* First, we have to see if the beginning of the line is
|
* First, we have to see if the beginning of the line is
|
||||||
* colored by a start on an earlier line, and an end on
|
* colored by a start on an earlier line, and an end on
|
||||||
* this line or later.
|
* this line or later.
|
||||||
|
|
Loading…
Reference in New Issue