• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Coding with editor

 
Ken Boyd
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Jbuilder as editor ONLY (just writing code) and compile using command line. Now code written in JBuilder is shown correctly in Texteditor, MS word, DOS editor and wordpad in proper format but Notepad is messing up everything. Do you think I should worry about this!!
 
Lara McCarver
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is probably something about the format (line breaks or something) that Notepad can't handle. TextPad has a hex editor built in (when you select the file in the Open File dialog, pick "Binary" as the type), so if
you are really curious, open the file up and look at what's in it.

And no, I don't think you need to worry about it.
[ May 06, 2005: Message edited by: Lara McCarver ]
 
Wei-ju Wu
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would not worry about Notepad, as Lara points out, it expects DOS-style line separators (\r\n). Practically every modern text editor can handle either DOS-style or UNIX-style (\n) separators - and Notepad seems to be more like a toy than a text editor :-)
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Notepad is a legacy application now. Don't bother about it, most likely JBuilder indeed inserts Unix style line endings which Notepad doesn't recognise as such.
You can set the format to be used in the project preferences dialog under Java Formatting (don't ask me why it's not in the editor preferences where it would be more logically placed).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic