NAME
FLTK::TextSelection -
Description
Functions
end
my $end = $textselection->end( );
-
Position of end of selection or, if rectangular, selections from keyboard.
my $rectstart = $selection->rectstart( )
includes
my $pos = $selection->position( $start, $end )
new
Usage
my $selection = FLTK::TextSelection->new( );
position
my $pos = $selection->position( $start, $end, $isrect, $rectstart, $rectend )
rectangular
my $start = $selection->start( )
rectend
my $bool = $selection->selected( )
rectstart
my $rectend = $selection->rectend( )
selected
$selection->selected( $bool )
my $bool = $selection->zerowidth( )
set
$selection->set_rectangular( $start, $end, $rectstart, $rectend )
set_rectangular
$selection->update( position, ndeleted, ninserted )
start
my $start = $textselection->start( );
-
Position of start selection or, if rectangular, selections from keyboard.
my $end = $selection->end( )
update
my $is_rect = $selection->rectangular( )
zerowidth
my $bool = $textselection->zerowidth( );
-
Zero width selctions aren't real selections, but they can be useful when creating rectangular selections from the keyboard.
$selection->zerowidth( $bool )
my $bool = $selection->includes( $pos, $lineStartPos, $dispIndex )
Constructor
Methods
$selection->set( $start, $end )
Author
Sanko Robinson <sanko@cpan.org> - http://sankorobinson.com/
License and Legal
Copyright (C) 2008-2010 by Sanko Robinson <sanko@cpan.org>
This program is free software; you can redistribute it and/or modify it under the terms of The Artistic License 2.0. See the LICENSE file included with this distribution or notes on the Artistic License 2.0 for clarification.
When separated from the distribution, all original POD documentation is covered by the Creative Commons Attribution-Share Alike 3.0 License. See the clarification of the CCA-SA3.0.
30 POD Errors
The following errors were encountered while parsing the POD:
- Around line 22:
You forgot a '=back' before '=head2'
- Around line 26:
=back without =over
- Around line 35:
You forgot a '=back' before '=head2'
- Around line 39:
=back without =over
- Around line 50:
You forgot a '=back' before '=head2'
- Around line 60:
=back without =over
- Around line 69:
You forgot a '=back' before '=head2'
- Around line 73:
'=item' outside of any '=over'
- Around line 90:
You forgot a '=back' before '=head2'
- Around line 94:
=back without =over
- Around line 105:
You forgot a '=back' before '=head2'
- Around line 109:
=back without =over
- Around line 120:
You forgot a '=back' before '=head2'
- Around line 124:
=back without =over
- Around line 135:
You forgot a '=back' before '=head2'
- Around line 139:
'=item' outside of any '=over'
- Around line 143:
You forgot a '=back' before '=head2'
- Around line 147:
=back without =over
- Around line 157:
You forgot a '=back' before '=head2'
- Around line 161:
=back without =over
- Around line 171:
You forgot a '=back' before '=head2'
- Around line 175:
=back without =over
- Around line 186:
You forgot a '=back' before '=head2'
- Around line 190:
=back without =over
- Around line 200:
You forgot a '=back' before '=head2'
- Around line 204:
=back without =over
- Around line 216:
You forgot a '=back' before '=head2'
- Around line 220:
'=item' outside of any '=over'
- Around line 222:
You forgot a '=back' before '=head2'
- Around line 226:
=back without =over