http://bugs.winehq.org/show_bug.cgi?id=12135
Summary: Editplus syntax highlighting wrong at newline Product: Wine Version: CVS/GIT Platform: Other URL: http://www.editplus.com OS/Version: other Status: UNCONFIRMED Keywords: download Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
To reproduce, install Editplus 3, edit a file hello.c, and type the canonical hello world app: #include <stdio.h> int main(int argc, char **argv) { printf("Hello, world!\n"); return 0; }
Note how the string constant is a different color. Now move the cursor between Hello and World, and hit the Enter key. The word world moves to the next line and loses its color. According to http://winehq.org/pipermail/wine-users/2008-March/030579.html it should stay highlighted, and does on Windows.
Doing 'winetricks riched20' or 'winetricks riched30' doesn't help.
http://bugs.winehq.org/show_bug.cgi?id=12135
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
--- Comment #1 from André H. nerv@dawncrow.de 2008-12-13 08:50:50 --- confirming in 1.1.10
http://bugs.winehq.org/show_bug.cgi?id=12135
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
--- Comment #2 from Austin English austinenglish@gmail.com 2009-01-19 15:14:37 --- Removing deprecated CVS/GIT version tag. Please retest in current git. If the bug is still present in today's wine, but was not present in some earlier version of wine, please update version field to earliest known version of wine that had the bug. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=12135
Bartosz Brachaczek b.brachaczek@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |b.brachaczek@gmail.com
--- Comment #3 from Bartosz Brachaczek b.brachaczek@gmail.com 2009-07-19 19:40:42 --- For me this bug is invalid. After hitting Enter "word" indeed becomes black but I tested it also on Windows XP and the behavior (EditPlus v3.11) is identical. So it's not a bug in Wine.
BTW EditPlus behaves ok here because AFAIK in C or C++ you can't put a newline inside a C-string in this way.
http://bugs.winehq.org/show_bug.cgi?id=12135
Dan Myers heron@xnapid.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |heron@xnapid.com
--- Comment #4 from Dan Myers heron@xnapid.com 2009-12-14 17:00:16 --- I've confirmed that this does occur in Windows in the latest version of EditPlus (3.12 build 531), so this is not a bug in wine.
I'll also echo Bartosz Brachaczek in the comment above me - it's not actually a bug at all; the syntax highlighter is behaving properly, because in C/C++ it's not valid to put an actual newline inside a quoted string like that.
If you try the same thing in something like gedit, you'll see exactly the same behavior.
http://bugs.winehq.org/show_bug.cgi?id=12135
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #5 from Dan Kegel dank@kegel.com 2009-12-14 17:20:30 --- OK, thanks, sorry for the noise!
http://bugs.winehq.org/show_bug.cgi?id=12135
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Vitaliy Margolen vitaliy@kievinfo.com 2009-12-15 01:29:08 --- Closing