Skip to main content
This topic is closed to new replies. Start a new post to keep the conversation going.
George_JohnsonCorrect answer
Inspiring
Apr 6, 2016 4:49 PM UTC

It's doesn't have to do with the editor. It is a bug in Acrobat. An empty line is added by Acrobat when a script is opened in an external editor, even when no changes are made or if changes are made but not saved before closing the external editor. This happens on both Windows and the Mac with all external editors I've ever used.

30 replies

Adobe Employee
Jan 18, 2017 12:02 PM UTC

With the latest release of Acrobat on 10th January 2017, this issue has been addressed.

To get the latest product update, within the product, click on the menu Help-> Check for updates.

For more information about the release, please refer to  Release Notes and the New Feature Summary .

Translate
Participant
Nov 1, 2024 5:49 PM UTC

It is not solved in the AI assistant. The text looks as if there are no blank lines, but when you copy the text into either Word or Markdown 2 to 3 blank lines are inserted between every sentence. It is very annoying and renders the AI assistent almost useless.

Translate
vivek1389
Adobe Employee
Adobe Employee
Jun 21, 2016 9:34 AM UTC

Thanks for bringing this issue to Adobe's notice. We have logged a bug for the same and our Engineering team will look into this.

Regards

Vivek Chandra

Translate
Inspiring
Apr 6, 2016 4:31 PM UTC

That most likely is a configuration issue with the editor you are using to create and edit the code.

Translate
hmn44Author
Known Participant
Apr 6, 2016 4:35 PM UTC

NotePad++ is very fine for me, I've been looking after that issue for a long time so far but still unsucessful

Translate
Inspiring
Apr 6, 2016 4:51 PM UTC

You can add the free macro to remove blank lines from the TextPad site and run that before saving.

Translate
Inspiring
Apr 6, 2016 3:42 PM UTC

Are you talking about an extra line being added at the end of the script each time the editor is used? If so, that's always happened to me, even if I don't actually revise the script text. It is mildly annoying.

Translate
hmn44Author
Known Participant
Apr 6, 2016 3:50 PM UTC

yes, almost, I can see that thesse extra lines are added just below  the comment  /********* appartient à which stand for belongs to (and for each module):

//<Document-Level>

//<ACRO_source>CalculStats9KSA</ACRO_source>

//<ACRO_script>

/*********** appartient à : Document-Level:CalculStats9KSA ***********/

function CalculStats9KSA(PNT){

Translate
Inspiring
Apr 6, 2016 3:58 PM UTC

It happens for me when you edit individual scripts. It also adds a line at the beginning of individual scripts whenever I select the "Edit All JavaScripts" options, which I rarely use and don't save if I use it to just view the scripts.

Translate
try67
Community Expert
Community Expert
Apr 6, 2016 1:21 PM UTC

What do you mean by that, exactly?

Translate
hmn44Author
Known Participant
Apr 6, 2016 3:01 PM UTC

I mean that almost each time I re open my scripts, I can see that some blank lines are added. For information I'm using NotePad++ editor.

Translate
hmn44Author
Known Participant
Apr 6, 2016 3:02 PM UTC

so I use the search (\n\n)  and replace "" to delete these empty lines.

Is it due to Notepad as editor ?

Translate