Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: How can I get Prima to display things from top to bottom?

by Anonymous Monk
on Jun 03, 2011 at 07:23 UTC ( [id://907923]=note: print w/replies, xml ) Need Help??


in reply to How can I get Prima to display things from top to bottom?

Prima::Edit
insert_text TEXT, [ HIGHLIGHT = 0 ] Inserts TEXT at the cursor position. If HIGHLIGHT is set to 1, the selection block is cancelled and the newly inserted text is selected.
So the solution is to move the cursor
$display_field->cursor_cend; $display_field->insert_text("$_\n\n");
Honestly, there are no things

Replies are listed 'Best First'.
Re^2: How can I get Prima to display things from top to bottom?
by ZJ.Mike.2009 (Scribe) on Jun 03, 2011 at 07:30 UTC
    Great! Things work now. Thanks Anonymous Monk!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://907923]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-26 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found