Linux SoftwareProgrammingLibrariesPrima::Edit 1.20

Prima::Edit 1.20


Prima::Edit is a Perl module for standard text editing widget. SYNOPSIS use Prima::Edit; my $e = Prima::Edit->
Developer:   Dmitry Karasik
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   1389K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Prima::Edit is a Perl module for standard text editing widget.

SYNOPSIS

use Prima::Edit;
my $e = Prima::Edit-> create(
text => 'Hello $world',
syntaxHilite => 1,
);
$e-> selection( 1, 1, 1, 2);

The class provides text editing capabilities, three types of selection, text wrapping, syntax highlighting, auto indenting, undo and redo function, search and replace methods.
The module declares bt:: package, that contains integer constants for selection block type, used by blockType property.

USAGE

The class addresses the text space by (X,Y)-coordinates, where X is character offset and Y is line number. The addressing can be 'physical' and 'logical', - in logical case Y is number of line of text. The difference can be observed if wordWrap property is set to 1, when a single text string can be shown as several sub-strings, called chunks.

The text is stored line-wise in {lines} array; to access it use get_line method. To access the text chunk-wise, use get_chunk method.

All keyboard events, except the character input and tab key handling, are processed by the accelerator table ( see Prima::Menu ). The default accelItems table defines names, keyboard combinations, and the corresponding actions to the class functions. The class does not provide functionality to change these mappings. To do so, consult "Prima::AccelTable" in Prima::Menu.

Requirements:
  • Perl
    tags the class  prima edit  the text  prima menu  use get  text editing  

    Download Prima::Edit 1.20


     http://ftp.casaafacerilor.ro/mirrors/CPAN/authors/id/K/KA/KARASIK/Prima-1.20.tar.gz


    Authors software

    Prima 1.21 (by Dmitry Karasik)
    Prima is an extensible Perl toolkit for multi-platform GUI development

    Subtitles 0.08 (by Dmitry Karasik)
    Subtitles consists of a command line tool, 'subs', and a Perl backend that provide a means for the simple loading, re-timing, convert

    Prima::Drawable 1.20 (by Dmitry Karasik)
    Prima::Drawable is a 2-D graphic interface.

    SYNOPSIS

    if ( $object-> isa('Prima::Drawable')) {
    $object-> begin_paint;

    Prima::Application 1.20 (by Dmitry Karasik)
    Prima::Application is root of widget objects hierarchy.

    Prima::Application class serves as a hierarchy root for all objects with c

    Prima::Printer 1.20 (by Dmitry Karasik)
    Prima::Printer is a system printing services.

    SYNOPSIS

    my $printer = $::application-> get_printer;
    print "printing to ",


    Similar software

    Prima::Edit 1.20 (by Dmitry Karasik)
    Prima::Edit is a Perl module for standard text editing widget.

    SYNOPSIS

    use Prima::Edit;
    my $e = Prima::Edit->

    Prima::TextView 1.20 (by Dmitry Karasik, Anton Berezin and Vadim Belman)
    Prima::TextView is a rich text browser widget.

    Prima::TextView accepts blocks of formatted text, and provides basic functionality

    Prima::PodView 1.20 (by Dmitry Karasik)
    Prima::PodView is Perl module for POD browser widget.

    SYNOPSIS

    use Prima qw(Application);
    use Prima::PodView;

    Prima::Application 1.20 (by Dmitry Karasik)
    Prima::Application is root of widget objects hierarchy.

    Prima::Application class serves as a hierarchy root for all objects with c

    Prima::Grids 1.20 (by Dmitry Karasik)
    Prima::Grids is a Perl module that contains grid widgets.

    SYNOPSIS

    use Prima::Grids;

    $grid = Prima::Grid-> c

    Prima::Lists 1.20 (by Dmitry Karasik)
    Prima::Lists is a Perl module for user-selectable item list widgets.

    The module provides classes for several abstraction layers of

    Prima::Buttons 1.20 (by Dmitry Karasik)
    Prima::Buttons is a button widgets and grouping widgets.

    SYNOPSIS

    use Prima qw(Application Buttons StdBitmap);

    Prima::Drawable 1.20 (by Dmitry Karasik)
    Prima::Drawable is a 2-D graphic interface.

    SYNOPSIS

    if ( $object-> isa('Prima::Drawable')) {
    $object-> begin_paint;

    Prima::Printer 1.20 (by Dmitry Karasik)
    Prima::Printer is a system printing services.

    SYNOPSIS

    my $printer = $::application-> get_printer;
    print "printing to ",

    Prima::image-load 1.20 (by Dmitry Karasik)
    Prima::image-load is a Perl module using image subsystem.

    Simple loading

    Simplest case, loading a single image would look like:


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags