Changeset 5f8ec6b for owl.h


Ignore:
Timestamp:
Jan 5, 2011, 10:09:33 AM (11 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
569f0bd
Parents:
c23f678
git-author:
Adam Glasgall <adam@crossproduct.net> (01/04/11 21:47:10)
git-committer:
Nelson Elhage <nelhage@mit.edu> (01/05/11 10:09:33)
Message:
Replace per-editwin killbuf with a global one.

Right now, the kill buffer is part of a struct _owl_editwin, which
means that it goes away when the editwin does - rather inconvenient if
you realize mid-paragraph that you're sending to the wrong class. This
patch adds a global for the killbuf (and its accessors), modifies the
editwin kill/yank functions to use it, and removes the old per-editwin
killbuf.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.h

    rf640876 r5f8ec6b  
    651651  volatile sig_atomic_t interrupted;
    652652  FILE *debug_file;
     653  char *kill_buffer;
    653654} owl_global;
    654655
Note: See TracChangeset for help on using the changeset viewer.