Changeset 203dcda for perl/lib/BarnOwl


Ignore:
Timestamp:
Jul 18, 2009, 11:14:02 AM (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:
7f6a8a2
Parents:
2be605a
Message:
Make text_{before,after}_point use new form for editwin functions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl/Editwin.pm

    r2be605a r203dcda  
    2424sub text_before_point {
    2525    save_excursion {
    26         BarnOwl::command('edit:set-mark');
    27         BarnOwl::command('edit:move-to-buffer-start');
     26        set_mark();
     27        move_to_buffer_start();
    2828        get_region();
    2929    }
     
    3232sub text_after_point {
    3333    save_excursion {
    34         BarnOwl::command('edit:set-mark');
    35         BarnOwl::command('edit:move-to-buffer-end');
     34        set_mark();
     35        move_to_buffer_end();
    3636        get_region();
    3737    }
Note: See TracChangeset for help on using the changeset viewer.