2009-02-08 Chris Allegretta <chrisa@asty.org>
+ * Make reset_multidata reset more lines, since contrary to previous problems the
+ syntax highlting is now too *un*ambitious, causing display glitches when
+ deleting a regex boundary.
* Add more multidata initliazers for new buffers and 'magic lines'. Fixes segfaults
with syntax highlighting in new buffers, initially reported by Mike Frysinger.
else
break;
}
+ for (; oof != NULL; oof = oof->next) {
+ alloc_multidata_if_needed(oof);
+ if (oof->multidata == NULL)
+ continue;
+ if (oof->multidata[mindex] == CNONE)
+ oof->multidata[mindex] = -1;
+ else
+ break;
+ }
+ edit_refresh_needed = TRUE;
}
void reset_multis_before(filestruct *fileptr, int mindex)
else
break;
}
+ for (; oof != NULL; oof = oof->prev) {
+ alloc_multidata_if_needed(oof);
+ if (oof->multidata == NULL)
+ continue;
+ if (oof->multidata[mindex] == CNONE)
+ oof->multidata[mindex] = -1;
+ else
+ break;
+ }
+
+ edit_refresh_needed = TRUE;
}