Understanding through Discussion


Welcome! You are not logged in. [ Login ]
EvC Forum active members: 66 (9049 total)
68 online now:
Pollux (1 member, 67 visitors)
Newest Member: Wes johnson
Upcoming Birthdays: Coragyps
Post Volume: Total: 887,675 Year: 5,321/14,102 Month: 242/677 Week: 47/54 Day: 0/4 Hour: 0/0


Thread  Details

Email This Thread
Newer Topic | Older Topic
  
Author Topic:   Code Formating Tests
Percy
Member
Posts: 20334
From: New Hampshire
Joined: 12-23-2000
Member Rating: 4.1


Message 1 of 7 (886404)
05-19-2021 2:26 PM


Triple spaced:

There are two blank lines above this in the original. This line begins with two spaces.

Edited by Percy, : No reason given.

Edited by Percy, : No reason given.


Replies to this message:
 Message 2 by dwise1, posted 05-19-2021 2:33 PM Percy has responded

  
dwise1
Member
Posts: 4715
Joined: 05-02-2006
Member Rating: 5.0


Message 2 of 7 (886405)
05-19-2021 2:33 PM
Reply to: Message 1 by Percy
05-19-2021 2:26 PM


In order to insert blank lines, I normally use the non-blanking space HTML entity,  

Otherwise, I've found the forum software to suffer from a mild form of HTML-itis in which all extra spaces and extra lines get swallowed up.

I assume that you're experimenting with settings.

Edited by dwise1, : mild, not mind


This message is a reply to:
 Message 1 by Percy, posted 05-19-2021 2:26 PM Percy has responded

Replies to this message:
 Message 3 by Percy, posted 05-19-2021 3:49 PM dwise1 has not yet responded

  
Percy
Member
Posts: 20334
From: New Hampshire
Joined: 12-23-2000
Member Rating: 4.1


Message 3 of 7 (886414)
05-19-2021 3:49 PM
Reply to: Message 2 by dwise1
05-19-2021 2:33 PM


Could I solicit some feedback/suggestions/etc? It requires a little explanation, so don't feel obligated.

I'm making a fix to something very minor that I find annoying. If I copy/paste the first two paragraphs of your message, then the blank line between them disappears, like this:

In order to insert blank lines, I normally use the non-blanking space HTML entity,  
Otherwise, I've found the forum software to suffer from a mild form of HTML-itis in which all extra spaces and extra lines get swallowed up.

But if I copy the last two paragraphs then the blank line is present:

Otherwise, I've found the forum software to suffer from a mild form of HTML-itis in which all extra spaces and extra lines get swallowed up.

I assume that you're experimenting with settings.

The copy/paste of all browsers now works this way, where all blank lines are copy/pasted faithfully except the first one, but they didn't used to until a few years ago. I finally got tired of adding the missing blank line back in manually and decided to fix it.

This brought me back to some code I wrote nearly a couple decades ago when I made the decisions that I think you're commenting on. All triple-spacing and quadruple-spacing and so forth becomes double spacing. If you want more than that then you could use  , but it would literally take me no longer than a minute to add a new code, [bl] for example, that would add a blank line. It would take me longer to add it to the doc page. You could then do [bl][bl][bl][bl][bl] to get five blank lines. This:

First line
[bl]
Second line

Would produce the same thing as this:

First line

Second line

But this:

First line
[bl][bl]
Second line

Would produce the same thing as this, which is what you have to do now:

First line
 
 
Second line

(An aside: please confirm for me that   only works if you disable smilies. That is what I'm seeing.)

But there's something else. The way the reduction of multiple blank lines to double spacing is carried out means that the extra blank lines are lost in the original copy of your message. So if you entered this in your original message text before clicking Submit:

First line
 
 
 
Second line

Then when you went back later to edit your message you'd instead see this:

First line

Second line

I'm wondering if when people edit their messages if it wouldn't be better to give them back the exact original, instead of the original minus the extra blank lines.

Any other comments/suggestions welcome.

--Percy


This message is a reply to:
 Message 2 by dwise1, posted 05-19-2021 2:33 PM dwise1 has not yet responded

Replies to this message:
 Message 4 by Tangle, posted 05-19-2021 4:36 PM Percy has responded
 Message 7 by nwr, posted 05-19-2021 5:12 PM Percy has acknowledged this reply

  
Tangle
Member
Posts: 8209
From: UK
Joined: 10-07-2011
Member Rating: 4.5


Message 4 of 7 (886415)
05-19-2021 4:36 PM
Reply to: Message 3 by Percy
05-19-2021 3:49 PM


Really couldn't care less.

If you want to spend coding time on the forum, please introduce a 10 minute editing delay before all those edit messages appear.


Je suis Charlie. Je suis Ahmed. Je suis Juif. Je suis Parisien. I am Mancunian. I am Brum. I am London.I am Finland. Soy Barcelona

"Life, don't talk to me about life" - Marvin the Paranoid Android

"Science adjusts it's views based on what's observed.
Faith is the denial of observation so that Belief can be preserved."
- Tim Minchin, in his beat poem, Storm.


This message is a reply to:
 Message 3 by Percy, posted 05-19-2021 3:49 PM Percy has responded

Replies to this message:
 Message 5 by Percy, posted 05-19-2021 4:55 PM Tangle has not yet responded
 Message 6 by AZPaul3, posted 05-19-2021 5:02 PM Tangle has not yet responded

  
Percy
Member
Posts: 20334
From: New Hampshire
Joined: 12-23-2000
Member Rating: 4.1


Message 5 of 7 (886416)
05-19-2021 4:55 PM
Reply to: Message 4 by Tangle
05-19-2021 4:36 PM


k

Edited by Percy, : Add details to the brief acknowledgement of what's to be implemented.

Edited by Percy, : Add a lot more detail and go into depth on all the relevant considerations.

Edited by Percy, : Typos.

Edited by Percy, : Grammar.

Edited by Percy, : Cut it back to a brief acknowledgement again.


This message is a reply to:
 Message 4 by Tangle, posted 05-19-2021 4:36 PM Tangle has not yet responded

  
AZPaul3
Member
Posts: 6032
From: Phoenix
Joined: 11-06-2006
Member Rating: 3.7


Message 6 of 7 (886417)
05-19-2021 5:02 PM
Reply to: Message 4 by Tangle
05-19-2021 4:36 PM


Why should he, Tango?

I don't see any disruption of forum topics discussion by his tests.

What did I miss, Tango?


Eschew obfuscation. Habituate elucidation.

This message is a reply to:
 Message 4 by Tangle, posted 05-19-2021 4:36 PM Tangle has not yet responded

  
nwr
Member
Posts: 5810
From: Geneva, Illinois
Joined: 08-08-2005
Member Rating: 5.0


Message 7 of 7 (886420)
05-19-2021 5:12 PM
Reply to: Message 3 by Percy
05-19-2021 3:49 PM


I'm wondering if when people edit their messages if it wouldn't be better to give them back the exact original, instead of the original minus the extra blank lines.

Yes, I would prefer to see the original.

Likewise, I prefer to see the original when replying and I set "Peek Mode".


Fundamentalism - the anti-American, anti-Christian branch of American Christianity

This message is a reply to:
 Message 3 by Percy, posted 05-19-2021 3:49 PM Percy has acknowledged this reply

  
Newer Topic | Older Topic
Jump to:


Copyright 2001-2018 by EvC Forum, All Rights Reserved

™ Version 4.0 Beta
Innovative software from Qwixotic © 2021