struct doc *d = p->doc;
int i;
- ci.key = "Replace";
+ ci.key = "Notify:Replace";
ci.numeric = 1;
ci.x = ci.y = -1;
ci.pointp = p->owner;
done = alloca(d->nviews);
for (i = 0; i < d->nviews; i++)
done[i] = 0;
- ci.key = "Replace";
+ ci.key = "Notify:Replace";
ci.numeric = 1;
ci.x = ci.y = -1;
while (remaining) {
DEF_CMD(count_notify)
{
- if (strcmp(ci->key, "Replace") == 0) {
+ if (strcmp(ci->key, "Notify:Replace") == 0) {
if (ci->mark != NULL) {
attr_del(mark_attr(ci->mark), "lines");
attr_del(mark_attr(ci->mark), "words");
{
struct view_data *vd = container_of(ci->comm, struct view_data, ch_notify);
- if (strcmp(ci->key, "Replace") == 0) {
+ if (strcmp(ci->key, "Notify:Replace") == 0) {
pane_damaged(vd->pane, DAMAGED_CONTENT);
return 0;
}
{
struct dir_data *dd = container_of(ci->comm, struct dir_data, type);
- if (strcmp(ci->key, "Replace") == 0) {
+ if (strcmp(ci->key, "Notify:Replace") == 0) {
if (ci->mark == dd->top)
/* A change in the text between top and bot */
pane_damaged(dd->pane, DAMAGED_CONTENT);
{
struct he_data *he = container_of(ci->comm, struct he_data, type);
- if (strcmp(ci->key, "Replace") == 0) {
+ if (strcmp(ci->key, "Notify:Replace") == 0) {
pane_damaged(pane_child(he->pane), DAMAGED_CONTENT);
return 0;
}
{
struct rl_data *rl = container_of(ci->comm, struct rl_data, type);
- if (strcmp(ci->key, "Replace") == 0) {
+ if (strcmp(ci->key, "Notify:Replace") == 0) {
if (ci->mark) {
struct rl_mark *rm = container_of(ci->mark,
struct rl_mark, m);
{
struct rt_data *rt = container_of(ci->comm, struct rt_data, type);
- if (strcmp(ci->key, "Replace") == 0) {
+ if (strcmp(ci->key, "Notify:Replace") == 0) {
if (ci->mark == rt->top)
/* A change in the text between top and bot */
pane_damaged(rt->pane, DAMAGED_CONTENT);