author | Jonas Fonseca <fonseca@diku.dk> | |
Mon, 21 Apr 2008 19:17:36 +0000 (21:17 +0200) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Tue, 22 Apr 2008 10:50:18 +0000 (12:50 +0200) | ||
commit | df711b9cfd8deccd1a307613c1d2ffaefab2f438 | |
tree | c84fee97cc306bdb32b4665ee48a383d2984199b | tree | snapshot |
parent | 6362c217c5356b6df6e74fbec066fe756ed479bd | commit | diff |
Simplify line attribute handling
- Add set_view_attr() that wraps calls to wattrset() and does the right
thing for the selected line. For successive calls without a change of
the attribute nothing will be done.
- Make draw_text() take a line attribute since all callers were already
calling set_view_attr().
Note: all attribute updates will now also call wchgat() in addition to
wattrset().
- Add set_view_attr() that wraps calls to wattrset() and does the right
thing for the selected line. For successive calls without a change of
the attribute nothing will be done.
- Make draw_text() take a line attribute since all callers were already
calling set_view_attr().
Note: all attribute updates will now also call wchgat() in addition to
wattrset().
tig.c | diff | blob | history |