Curses::UI::TextEditor - Create and manipulate texteditor widgets



NAME

Curses::UI::TextEditor - Create and manipulate texteditor widgets


CLASS HIERARCHY

 Curses::UI::Widget
 Curses::UI::Searchable
    |
    +----Curses::UI::TextEditor


SYNOPSIS

    use Curses::UI;
    my $cui = new Curses::UI;
    my $win = $cui->add('window_id', 'Window');
    my $editor = $win->add(
        'myeditor', 'TextEditor',
        -vscrollbar => 1,
        -wrapping   => 1,
    );
    $editor->focus();
    my $text = $editor->get();


DESCRIPTION

Curses::UI::TextEditor is a widget that can be used to create a couple of different kinds of texteditors. These are:

See exampes/demo-Curses::UI::TextEditor in the distribution for a short demo of these.


STANDARD OPTIONS

-parent, -x, -y, -width, -height, -pad, -padleft, -padright, -padtop, -padbottom, -ipad, -ipadleft, -ipadright, -ipadtop, -ipadbottom, -title, -titlefullwidth, -titlereverse, -onfocus, -onblur

For an explanation of these standard options, see Curses::UI::Widget.


WIDGET-SPECIFIC OPTIONS


METHODS


DEFAULT BINDINGS

There are different sets of bindings for each mode in which this widget can be used.

All modes (editor, single line and read only)

All edit modes (all but read only mode)

Only for the read only mode


SEE ALSO

the Curses::UI manpage, the Curses::UI::TextViewer manpage the Curses::UI::TextEntry manpage the Curses::UI::Widget manpage, the Curses::UI::Common manpage


AUTHOR

Copyright (c) 2001-2002 Maurice Makaay. All rights reserved.

Maintained by Marcus Thiesen (marcus@cpan.thiesenweb.de)

This package is free software and is provided ``as is'' without express or implied warranty. It may be used, redistributed and/or modified under the same terms as perl itself.

 Curses::UI::TextEditor - Create and manipulate texteditor widgets