Understanding through Discussion


Welcome! You are not logged in. [ Login ]
EvC Forum active members: 66 (9077 total)
605 online now:
dwise1, nwr, PaulK, Percy (Admin) (4 members, 601 visitors)
Newest Member: Contrarian
Post Volume: Total: 893,968 Year: 5,080/6,534 Month: 500/794 Week: 126/89 Day: 10/14 Hour: 0/3


Thread  Details

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


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 replied

  
Percy
Member
Posts: 20820
From: New Hampshire
Joined: 12-23-2000
Member Rating: 2.5


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 taken no action

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

  
Percy
Member
Posts: 20820
From: New Hampshire
Joined: 12-23-2000
Member Rating: 2.5


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 taken no action

  
Newer Topic | Older Topic
Jump to:


Copyright 2001-2018 by EvC Forum, All Rights Reserved

™ Version 4.1
Innovative software from Qwixotic © 2022