[Bug 995747] [NEW] Gedit: Remove trailing spaces feature removes last line.

2012-05-06 Thread Jofil Inoc Baring
Public bug reported:

Ubuntu 12.04 LTS, 64Bit
Gedit 3.4.1

Here's what happend.
1. Launch gedit.
2. Create new file type. I am writing PHP file when I noticed it. So I created 
a PHP file.
3. Put some codes/strings in there. Be sure your last line is a text.
4. Use Remove trailing spaces feature of gedit.
5. Observe, the last line will be trimmed.


I expect, only trailing spaces will be removed.
I found out that the last line was also remove.
I also use other programming languages and still removes the string.
Attached is the sample string I made.
Open it with gedit 3.4.1 and remove trailing spaces.
The comment should not be removed.

** Affects: gedit (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/995747

Title:
  Gedit: Remove trailing spaces feature removes last line.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/995747/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 995747] Re: Gedit: Remove trailing spaces feature removes last line.

2012-05-06 Thread Jofil Inoc Baring
** Attachment added: Remove Trailing Spaces.txt
   
https://bugs.launchpad.net/bugs/995747/+attachment/3134504/+files/Remove%20Trailing%20Spaces.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/995747

Title:
  Gedit: Remove trailing spaces feature removes last line.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/995747/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs