Changeset 98f1e69 for editwin.c


Ignore:
Timestamp:
Jul 11, 2009, 1:14:34 PM (15 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
5b5f3e6
Parents:
bab52da
git-author:
Karl Ramm <kcr@1ts.org> (06/09/09 21:46:54)
git-committer:
Nelson Elhage <nelhage@mit.edu> (07/11/09 13:14:34)
Message:
garbage collect some functions "we ain't gonna need"
(owl_editwin_set_history, int owl_editwin_get_numlines, owl_editwin_{get,set}_goal_column
File:
1 edited

Legend:

Unmodified
Added
Removed
  • editwin.c

    rbab52da r98f1e69  
    125125}
    126126
    127 void owl_editwin_set_history(owl_editwin *e, owl_history *h)
    128 {
    129   e->hist=h;
    130 }
    131 
    132127owl_history *owl_editwin_get_history(owl_editwin *e)
    133128{
     
    213208  char *ptr;
    214209
    215   owl_editwin_set_history(e, h);
     210  e->hist = h;
     211
    216212  if (e->style==newstyle) return;
    217213
     
    11531149}
    11541150
    1155 int owl_editwin_get_numlines(owl_editwin *e)
    1156 {
    1157   return(owl_text_num_lines(e->buff));
    1158 }
    1159 
    11601151int owl_editwin_get_echochar(owl_editwin *e) {
    11611152  return e->echochar;
    11621153}
    1163 
    1164 void owl_editwin_set_goal_column(owl_editwin *e, int column)
    1165 {
    1166   e->goal_column = column;
    1167 }
    1168 
    1169 int owl_editwin_get_goal_column(owl_editwin *e)
    1170 {
    1171   return e->goal_column;
    1172 }
Note: See TracChangeset for help on using the changeset viewer.