- Timestamp:
- May 3, 2010, 9:09:18 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- a41c8d1, 1b5b975
- Parents:
- 4d9e4254
- git-author:
- Nelson Elhage <nelhage@mit.edu> (05/03/10 20:56:02)
- git-committer:
- Nelson Elhage <nelhage@mit.edu> (05/03/10 21:09:18)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
editwin.c
rd625cfd r9d7a720 125 125 e->topindex = 0; 126 126 e->excursions = NULL; 127 owl_editwin_set_curswin(e, win, winlines, wincols);128 127 e->style=style; 129 128 if ((style!=OWL_EDITWIN_STYLE_MULTILINE) && … … 131 130 e->style=OWL_EDITWIN_STYLE_MULTILINE; 132 131 } 132 owl_editwin_set_curswin(e, win, winlines, wincols); 133 133 e->lock=0; 134 134 e->dotsend=0; … … 152 152 e->wincols=wincols; 153 153 e->fillcol=owl_editwin_limit_maxcols(wincols-7, owl_global_get_edit_maxfillcols(&g)); 154 e->wrapcol=owl_editwin_limit_maxcols(wincols-7, owl_global_get_edit_maxwrapcols(&g)); 154 if (e->style == OWL_EDITWIN_STYLE_MULTILINE) 155 e->wrapcol=owl_editwin_limit_maxcols(wincols-7, owl_global_get_edit_maxwrapcols(&g)); 156 else 157 e->wrapcol = 0; 155 158 } 156 159
Note: See TracChangeset
for help on using the changeset viewer.