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

Re^2: PerlMonks Editor

by GrandFather (Cardinal)
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


Comment on Re^2: PerlMonks Editor
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...


    Scott

    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 (Canon) 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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (18)
As of 2014-08-28 16:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (264 votes), past polls