jed-users mailing list

[2004 Date Index] [2004 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Preserving trailing whitespace?


I'm using version B0.99.17, and I'm noticing that trailing white space
sometimes disappears.  What I mean is this:

1. Open a file with jed.
2. Go to an arbitrary line.
3. Append some white space to the end.
4. Go somewhere else in the file and make other changes.
5. Position back to the original line and go to the end.  The cursor
   will be positioned after the final character as if no white space
   exists.
6. Cursor down a few lines.
7. Save and exit.
8. View the file in some other editor.  The line where the trailing
   white space was added no longer contains any trailing white space.

However, if I only do steps 1, 2, 3, 7, and 8, the trailing white space
remains.

I have put "Highlight_Trailing_Whitespace = 1;" in my initialization file,
and I have the following in my color setup file:

  set_color("trailing_whitespace", "white", "blue");

However, I don't see the trailing white space in any case.

But even if I could see this white space, it seems to disappear at
random times after I save the file.

So, there are two separate but related issues here:

1.  White space at the end of lines sometimes goes away when I
    save the file.

2.  Highlight_Trailing_Whitespace doesn't seem to work.

Is any of this familiar to anyone?

Thanks in advance.

-- 
 Lloyd Zusman
 ljz@xxxxxxxxxx
 God bless you.

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2004 date index] [2004 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]