Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Text Editor line breaks
Text Editor line breaks [message #335573] Wed, 15 April 2009 09:54 Go to next message
Kai Schlamp is currently offline Kai Schlamp
Messages: 344
Registered: July 2009
Senior Member
Hello.

Is there a way to specify what line beaks the Text Editor uses (Windows
vs Unix)?
I often create and edit files on my Unix server with the help of the
Remote System Explorer from a Windows machine. Those files automatically
use Windows line breaks (\n\r) and I see no option in the preferences to
change that.

Cheerio,
Kai
Re: Text Editor line breaks [message #335588 is a reply to message #335573] Wed, 15 April 2009 13:45 Go to previous messageGo to next message
Eclipse User
Originally posted by: eclipse-news.rizzoweb.com

On 4/15/2009 9:54 AM, Kai Schlamp wrote:
> Hello.
>
> Is there a way to specify what line beaks the Text Editor uses (Windows
> vs Unix)?
> I often create and edit files on my Unix server with the help of the
> Remote System Explorer from a Windows machine. Those files automatically
> use Windows line breaks (\n\r) and I see no option in the preferences to
> change that.

Does changing General > Workspace > "New text file line delimiter" help?

Eric
Re: Text Editor line breaks [message #335592 is a reply to message #335588] Wed, 15 April 2009 15:56 Go to previous message
Kai Schlamp is currently offline Kai Schlamp
Messages: 344
Registered: July 2009
Senior Member
Thanks a lot Eric. That's the solution.

Eric Rizzo schrieb:
> On 4/15/2009 9:54 AM, Kai Schlamp wrote:
>> Hello.
>>
>> Is there a way to specify what line beaks the Text Editor uses (Windows
>> vs Unix)?
>> I often create and edit files on my Unix server with the help of the
>> Remote System Explorer from a Windows machine. Those files automatically
>> use Windows line breaks (\n\r) and I see no option in the preferences to
>> change that.
>
> Does changing General > Workspace > "New text file line delimiter" help?
>
> Eric
Previous Topic:Files copied from src to bin on compile - config?
Next Topic:Form and View
Goto Forum:
  


Current Time: Sun Aug 31 00:34:08 EDT 2014

Powered by FUDForum. Page generated in 0.31642 seconds