Skip to content

Commit

Permalink
Add an Editwin.pm that allows importing of the editwin functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
nelhage committed Jul 11, 2009
1 parent a88f35a commit cf26b72
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions perl/lib/BarnOwl.pm
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ use BarnOwl::Hooks;
use BarnOwl::Message;
use BarnOwl::Style;
use BarnOwl::Timer;
use BarnOwl::Editwin;

=head1 NAME
Expand Down
22 changes: 22 additions & 0 deletions perl/lib/BarnOwl/Editwin.pm
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
use warnings;
use strict;

=head1 NAME
BarnOwl::Editwin
=head1 DESCRIPTION
Functions for interfacing with the BarnOwl editwin. Most of the
functions in this module are defined in perlglue.xs; This module
exists to provide Exporter hooks and documentation for them.
=cut

package BarnOwl::Editwin;
use base qw(Exporter);

our @EXPORT_OK = qw(text_before_point text_after_point replace
point_move replace_region save_excursion);

1;

0 comments on commit cf26b72

Please sign in to comment.