Menu

#41 Hide final EOL should initially be unchecked

v5.2
closed-fixed
nobody
None
5
2014-03-24
2006-08-17
No

Hide final EOL should initially be unchecked, we
shouldn't show the "wrong" file-contents if not
explicitly asked for by the user.

Sorry if this is a dupe, but I have many bugs to post
and am too lazy to check them all for dupes
currently. :-)

OS: Windows XP
Java Version: Sun Java 1.5.0_06-b05
jEdit Version: SVN Revision 6684

Discussion

  • Matthieu Casanova

    Logged In: YES
    user_id=285591
    Originator: NO

    I'm not sure about this, some other editors hide this final EOL by default, I tried vi and gedit.

     
  • Sebastian Schuberth

    Logged In: YES
    user_id=787298
    Originator: NO

    I agree it should be unchecked by default. AFAIK the C/C++ standard requires a final EOL to guarantee defined compiler behavior, and GCC will print out a warning if it's missing, so the default should make it easy to verify it's actually there.

    BTW: VI hides the final EOL because it always implicitly adds one, AFAIK.

     
  • Alan Ezust

    Alan Ezust - 2014-03-24
    • status: open --> closed-fixed
    • Group: --> v5.2
     
  • Alan Ezust

    Alan Ezust - 2014-03-24

    Committed 23439

     

Log in to post a comment.