Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^2: PerlMonks Editor

by GrandFather (Saint)
on Apr 18, 2006 at 22:08 UTC ( #544218=note: print w/replies, xml ) Need Help??

in reply to Re: PerlMonks Editor
in thread PerlMonks Editor

This looks pertinent to version 2 of the editor - scrape the node being replied to (to allow quoted material from the OP) and post the reply directly. Thanks for the reply!

DWIM is Perl's answer to Gödel

Replies are listed 'Best First'.
Re^3: PerlMonks Editor
by Scott7477 (Chaplain) on Apr 19, 2006 at 05:11 UTC

    In your code the following line

    use constant kParaSpace => 4;

    appears to be the setting for the gap between paragraphs when the paragraph tags are used.

    When I tested your editor the gap between paragraphs is rather wider than seems to be the norm in most PerlMonks posts. Perhaps kParaSpace should be set to 2?

    This is a minor nitpick; otherwise this is very slick. Kudos to you...


    PS: This node was written (mostly)using your editor:)

      Your analysis is quite correct Scott. That feature was jammed in just before I posted the code immediately before leaving on holiday over Easter so the gap hasn't been fine tuned. However I suspect it may be influenced by things such as the default font being used by the Text widget and perhpas by various system settings and display resolution.

      A number of things such as that could be made user preferences when the code is more fully developed.

      Glad to hear that you are using it for real BTW - Kudos to you :). (It's really a rather preliminary version.)

      DWIM is Perl's answer to Gödel
Re^3: PerlMonks Editor
by jdporter (Chancellor) on Apr 19, 2006 at 16:52 UTC
    scrape the node being replied to (to allow quoted material from the OP)

    Yeah, that's a good idea. My code (above) is only useful for editing extant nodes.

    We're building the house of the future together.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2022-08-14 09:55 GMT
Find Nodes?
    Voting Booth?

    No recent polls found