Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7775517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T17:39:05+00:00 2026-06-01T17:39:05+00:00

I am using Eclipse (Version: Indigo Service Release 2) on Mac OS X (10.7)

  • 0

I am using Eclipse (Version: Indigo Service Release 2) on Mac OS X (10.7) with PHP Development Tools and Aptana Studio 3 Plugin.

In Preferences > General > Workspace I have selected:
– Text file encoding = UTF-8
– New text file line delimiter = Unix
In Preferences > General > Editors > Text Editors I have enabled “Show whitespace characters”.

I also use “File > Convert Line Delimiters To > Unix” to regularly change any windows newlines.

Copy-paste of text adds windows newlines (^M) characters at the end of whole lines in the pasted text. This happens despite the fact that the text copied is “clean” of Windows new line characters. This happens for all copy-pasted text (from the same file/editor, or from other sources) if it has at least one whole line in it. I noticed the behavior in git commits.

I believe I have exhausted all possible explanations and did not find anything in my research.

I suspect the Aptana Plugin is the problem because I have a second (separate) installation of Eclipse with all set as above minus the Aptana plugin and never experienced something similar. Nevertheless I can not find anything in Aptana preferences that would look like a potential solution.

Any ideas before I call this a bug?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T17:39:06+00:00Added an answer on June 1, 2026 at 5:39 pm

    I had exactly the same annoying problem. After some research and experimentation I think I found the source of the bug and a workaround.

    Observations on my set up (Eclipse 3.7.2, PDT 3.0.0, no aptana):

    • it only occurred for me in PHP files inside the <?php ?> delimiters.
    • it only occurred when pasting while the cursor is somewhere on a line with only whitespace. After pasting, all whitespace was removed.
    • When there was a non whitespace character on the line, it did not occur. When pasting in front of the non-whitespace character, the whitespace in front of the character was however removed.

    This behavior felt like an issue with automatic indentation handling, so I tried dis-/enabling indentation related options.
    Disabling the following option fixed it for me:

    PHP > Editor > Typing > When pasting adjust indentation

    good luck

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using : Eclipse Java EE IDE Web Developers version:Indigo Release with hibernate tools,
I developed an Eclipse plugin (a view) using the plugin development version of Eclipse.
I'm using the Indigo Release of eclipse. When I check Window -> Preferences, Maven
I'm using Eclipse Indigo with the m2e Plugin (Version 1.0.1). I have two separate
When searching for text within Eclipse using the Find bar (Version: Indigo Release Build
I'm using the antlr-3.4-complete-no-antlrv2.jar version of ANTLR on Eclipse Indigo. I have installed the
I am using mac lion and eclipse indigo. I am trying set it up
I am using Redhat linux 32bit version. installed eclipse indigo 32 bit version. when
I am using Eclipse Version: Helios Release for a Java application. I need to
i am using eclipse indigo version.i had to create a project in android 2.2

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.