Double Spacing Code in Editors [message #185220] |
Wed, 20 December 2006 21:51 |
Eclipse User |
|
|
|
Originally posted by: jonathan.barnard.fnf.com
When I view code in JavaScript, Java and JSP editors the code is double
spaced. When I view the code in another text editor like TextPad it is
still single spaced. The really wierd thing is when I save the file it is
still single speced in TextPad. Can I turn this off?
I'm currently on:
Eclipse SDK
Version: 3.1.1
Build id: M20050929-0840
(c) Copyright Eclipse contributors and others 2000, 2005. All rights
reserved.
Visit http://www.eclipse.org/platform
This product includes software developed by the
Apache Software Foundation http://www.apache.org/
|
|
|
Re: Double Spacing Code in Editors [message #185244 is a reply to message #185220] |
Wed, 20 December 2006 23:30 |
Eclipse User |
|
|
|
Originally posted by: nobody.there.127.0.0.1
Jon Barnard wrote:
> When I view code in JavaScript, Java and JSP editors the code is double
> spaced. When I view the code in another text editor like TextPad it is
> still single spaced. The really wierd thing is when I save the file it
> is still single speced in TextPad. Can I turn this off?
You don't say what your platform is, but it certainly sounds like you're
editing a file with different line terminators than your platform uses
as a default. Maybe Eclipse thinks it's a binary file rather than a text
file? Alternately, you could set -Dline.separator when you run Eclipse -
but you shouldn't need to do that. Look at the file in a hex editor and
see what you've got.
Andrew Jr.
============================================================ ==========
IBM Phoenix Labs (OTI)
2929 North Central Avenue
Phoenix, Arizona, USA 85012
|
|
|
|
Powered by
FUDForum. Page generated in 0.08300 seconds