/usr/share/barnowl/lib/BarnOwl/Editwin.pm is in barnowl 1.9-4build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | 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 get_region
save_excursion current_column point mark);
our %EXPORT_TAGS = (all => \@EXPORT_OK);
sub text_before_point {
save_excursion {
set_mark();
move_to_buffer_start();
get_region();
}
}
sub text_after_point {
save_excursion {
set_mark();
move_to_buffer_end();
get_region();
}
}
1;
|