scratch adds newline at end of file
Bug #1075241 reported by
Julien Spautz
This bug affects 9 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Scratch |
Fix Released
|
Medium
|
Cuzzie Lee |
Bug Description
Scratch always adds a newline character at the end of the file and there seems to be no way to remove this newline because it gets immediately readded.
Related branches
lp:~kelwin-lee/scratch/fix-1075241
- Mario Guerriero (community): Approve
-
Diff: 21 lines (+2/-2)1 file modifiedsrc/Services/FileHandler.vala (+2/-2)
Changed in scratch: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → 1.2 |
Changed in scratch: | |
milestone: | 2.0 → 2.1 |
Changed in scratch: | |
milestone: | 2.0.1 → 2.1 |
Changed in scratch: | |
assignee: | nobody → Cuzzie Lee (kelwin-lee) |
status: | Confirmed → Fix Released |
milestone: | 2.1 → 2.0.1 |
Changed in scratch: | |
status: | Fix Released → Fix Committed |
Changed in scratch: | |
status: | Fix Committed → Fix Released |
Changed in scratch: | |
status: | Fix Released → In Progress |
Changed in scratch: | |
status: | In Progress → Fix Committed |
Changed in scratch: | |
status: | Fix Committed → In Progress |
milestone: | 2.0.1 → 2.1 |
Changed in scratch: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
A lot of text editors do this (gedit, for example)
However, I have noticed that scratch displays trailing newlines, which many text editors do not (gedit, for example)