Changeset c6ecf5c for editwin.c


Ignore:
Timestamp:
Jul 11, 2009, 1:14:36 PM (12 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
bd7fb58
Parents:
d41294a
git-author:
Nelson Elhage <nelhage@mit.edu> (06/21/09 01:12:01)
git-committer:
Nelson Elhage <nelhage@mit.edu> (07/11/09 13:14:36)
Message:
Implement text_{before,after)_point in Perl.

These can easily be implemented in perl using save_excursion and
get_region, so there's no need for them in C.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • editwin.c

    rd41294a rc6ecf5c  
    13521352}
    13531353
    1354 char *owl_editwin_text_before_point(owl_editwin *e)
    1355 {
    1356   return oe_chunk(e, e->index < e->lock ? 0 : e->lock, e->index);
    1357 }
    1358 
    1359 char *owl_editwin_text_after_point(owl_editwin *e)
    1360 {
    1361   return oe_chunk(e, e->index, e->bufflen);
    1362 }
    1363 
    13641354/*
    13651355 * The only guarantee made about these values is that comparisons
Note: See TracChangeset for help on using the changeset viewer.