View Single Post
Old 09-20-2017, 10:57 PM   #19
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by DiapDealer View Post
Well you don't reaaaaallly need to preview. You KNOW there's a line break wherever there's a br without actually checking.
When there is an actual linebreak on screen, I can see the shape of the poem/song, etc. When as often happens, a linebreak has been lost, it's obvious when a line is twice as long as the others. That visual cue is now gone from the code view.

Also, many poems have patterns of indentation in print that I have to match with html, by inserting various space characters, alignments, etc., involving usually a fair bit of trial and error.

With all the lines mashed together, editing text using linebreaks heavily is now more tedious and error prone. Just finding my place in this big lump of text to tweak the spacing or edit it at all is a chore.

This is a stanza from a poem as it was prettified in 0.91:

Code:
 <p class="poem"><br />
  The moon blue, shy<br />
  at first to know you now croons<br />
  for your childhood<br />
  spoon. Its edge and back<br />
  once sliced, mashed a world<br />
  into bites and paste fitful<br />
  for your mouth that,<br />
  over the years, has learned<br />
  &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;about survival,<br />
  though later you know<br />
  habits form territories, though<br />
  questions, not meanings,<br />
  remain.&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;You, no<br />
  longer amused by the spoon&rsquo;s<br />
  plastic handle of faded<br />
  giraffes, choose to sweat<br />
  in Hong Kong streets, eat<br />
  take-outs with chopsticks<br />
  &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;that do not split<br />
  like win-win situations.</p>
0.98 makes it a single line with soft wraps in code view.


Quote:
<p class="poem"><br/> The moon blue, shy<br/> at first to know you now croons<br/> for your childhood<br/> spoon. Its edge and back<br/> once sliced, mashed a world<br/> into bites and paste fitful<br/> for your mouth that,<br/> over the years, has learned<br/> &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;ab out survival,<br/> though later you know<br/> habits form territories, though<br/> questions, not meanings,<br/> remain.&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;You, no<br/> longer amused by the spoon’s<br/> plastic handle of faded<br/> giraffes, choose to sweat<br/> in Hong Kong streets, eat<br/> take-outs with chopsticks<br/> &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;th at do not split<br/> like win-win situations.</p>
Add comma after 3rd word of line 10? Easy in the first layout. Now, I 'd have to find it in the preview, then find it again in the middle of the chunk of code. If the words are repeated, common in poems, make double sure I am on the right line. Takes 3 times as long and more likely to make a mistake.


Quote:
Originally Posted by DiapDealer View Post
The good news is that Prettify is manual affair now. So if someone wanted to write their own pretty-print plugin, they could do so and forego using the built-in Prettify altogether if they wanted.

I don't have the programming chops to do that.

So when editing poetry I may revert to 0.91 because of this.

Last edited by AlanHK; 09-20-2017 at 11:28 PM.
AlanHK is offline   Reply With Quote