| Summary: | [editor] editor shows extra blank line at the end of files | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Anthony Hunter <ahunter.eclipse> |
| Component: | Editor | Assignee: | Project Inbox <orion.editor-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Silenio_Quarti |
| Version: | 5.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Anthony Hunter
If the last character on a file is a line delimiter, the editor is supposed to have a blank line at the end. There are editors that do not show that blank line (i.e vi and maybe emacs), but most editors (notepad, wordpad, Mac TextEdit, gedit, eclipse) have the same behavior as the orion editor. Agreed this appears to be a Linux thing when editing files using VI and getting When an input file ends in a non-newline character, its last line is called an "incomplete line" because its last character is not a newline. All other lines are called "full lines" and end in a newline character. |