Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^3: PerlMonks Editor

by Scott7477 (Chaplain)
on Apr 19, 2006 at 05:11 UTC ( #544256=note: print w/ replies, xml ) Need Help??

in reply to Re^2: PerlMonks Editor
in thread PerlMonks Editor

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:)

Comment on Re^3: PerlMonks Editor
Download Code
Replies are listed 'Best First'.
Re^4: PerlMonks Editor
by GrandFather (Sage) on Apr 19, 2006 at 05:22 UTC

    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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2015-10-04 17:08 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (103 votes), past polls