Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

empty lines

New Here ,
Apr 06, 2016 Apr 06, 2016

Hi again

does anyone know why emptyt lines are added to my script ?

thanks in advance

TOPICS
Acrobat SDK and JavaScript , Windows
2.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Apr 06, 2016 Apr 06, 2016

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.

Translate
LEGEND ,
Apr 06, 2016 Apr 06, 2016

Yes. It will remove all blank lines from the file. I expect it could be modified  or one could create a new macro to remove only the blank lines after the last line of code.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 06, 2016 Apr 06, 2016

ok it's almost what I 'm doing with the search and replace, il's works fine.

thanks all of you

Michel

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 06, 2016 Apr 06, 2016

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jun 21, 2016 Jun 21, 2016

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 18, 2017 Jan 18, 2017

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 01, 2024 Nov 01, 2024
LATEST

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines