After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 343910 - Handle macintosh file (\r line endings)
Handle macintosh file (\r line endings)
Status: RESOLVED DUPLICATE of bug 316835
Product: gtksourceview
Classification: Platform
Component: General
1.4.x
Other Linux
: Normal normal
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-05 13:11 UTC by Benoît Dejean
Modified: 2006-07-26 13:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Benoît Dejean 2006-06-05 13:11:01 UTC
Hi, i'm using gtksourceview 1.4.2-2 within gedit 2.14.2.
Syntax highlighting of file in mac format (\r line endings) is wrong : the whole buffer gets colored with the color of the first line, i.e. with a C file, the whole program gets purple (color of the first line, which is a #include).

(To generate a mac format file, use something like : python -c "import sys; sys.stdout.write(sys.stdin.read().replace('\n', '\r'))" < unix.c  > mac.c
Comment 1 Paolo Borelli 2006-07-26 13:52:33 UTC
actually this was already filed in bugzilla (though the original subject line was misleading)

*** This bug has been marked as a duplicate of 316835 ***