|
|
#1 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,036
Karma: 30277960
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Remove blank lines
I don't like blank lines in code, anyone know if any of the existing plugins offers an option to remove them.
BR |
|
|
|
|
|
#2 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,462
Karma: 174510106
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Not sure if this will do what you want but Mend and Prettify will remove extraneous blank lines but will leave a blank line between each code block.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 900
Karma: 3501166
Join Date: Jan 2017
Location: Poland
Device: Various
|
Really?
The effect can be easily achieved without a plugin by simply replacing the text "\n\n" with "\n", but the first prettify or running a plugin that saves the file together with prettify will ruin the whole effect. Of course, you can change the \src\Parsers\GumboInterface.cpp file in the Sigil code; to achieve the general effect, you only need to comment out two lines. To get more polished effects, you have to tinker with the code a lot. I used this solution for a long time, but in the end I gave up and now I live with empty lines
|
|
|
|
|
|
#4 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,911
Karma: 207182180
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
HTML looks like a wall of noise to me with no line-spacing. To each their own, of course.
|
|
|
|
|
|
#5 | |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,036
Karma: 30277960
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
FTR: I got here after looking at Automation Edit and not seeing Run saved search in Tools, but seeing run Plugin. BR |
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,036
Karma: 30277960
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I was a couple of days early, the beta KH has just released has saved searches in Automation, maybe they were there before, but…
|
|
|
|
|
|
#7 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,462
Karma: 174510106
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
The RunSavedSearchReplaceAll has been around for a while. The OnSuccess and OnFailed variants were added in the beta.
|
|
|
|
|
|
#8 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,036
Karma: 30277960
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I would looked for Saved[space]Searches, didn't like Pascal much either.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Remove blank lines between paragraphs with the same style | Trottel | Editor | 1 | 12-21-2023 12:13 PM |
| Blank Pages that aren't blank How do I remove them in a conversion? | LostOnTheLine | Conversion | 3 | 11-17-2022 05:42 AM |
| How do I remove two blank lines after a paragraph? | arast | Editor | 21 | 01-12-2018 03:46 PM |
| A text processor to remove CR and blank lines | p3aul | Related Tools | 1 | 11-14-2014 05:03 PM |
| Blank Lines | vivaldirules | Upload Help | 55 | 03-02-2009 04:17 PM |