This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 116612 - Syntax highlighting broken
Summary: Syntax highlighting broken
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Editing (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
: 112148 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-25 07:09 UTC by butchanton
Modified: 2007-10-30 16:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
zip of dev directory (3.79 MB, application/octet-stream)
2007-09-25 17:54 UTC, butchanton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description butchanton 2007-09-25 07:09:50 UTC
Syntax highlighting seems to be broken in recent builds, at least as far back as 4161.  I have a really old build (CFBundleVersion 6.0.0.0.200705021220, don't 
know the build number -- sorry) that still works fine.
Comment 1 butchanton 2007-09-25 07:17:58 UTC
Oddly, the newer builds work fine on my Quad G5.  They are broken on my MacBook Pro 2.4GHz.  Corrupt preference somewhere?  But why would the older 
build work?
Comment 2 Torbjorn Norbye 2007-09-25 17:17:57 UTC
Hmmm. In what way is syntax highlighting broken? All the colors are black and white? Or some other symptom? Can you
attach a screenshot (unless it's black & white which would be obvious).

Can you try running with an alternative user directory? That would point to some corrupted settings. Try

netbeans --userdir /tmp/foobar

(or some other nonexistent directory name)

Assuming that's the problem I'd be interested in seeing your userdir (the bad one obviously - invoke NetBeans and look
in the about box for its location). Can you zip up the config/ portion of the userdir and attach it?
Comment 3 butchanton 2007-09-25 17:54:06 UTC
Created attachment 49499 [details]
zip of dev directory
Comment 4 butchanton 2007-09-25 17:56:35 UTC
Yes, all text is black and white.

Running with a different user directory restored the expected syntax highlighting behavior.

The zip of the dev directory is too big to attach -- please send me e-mail and I'll mail it to you.
Comment 5 butchanton 2007-09-25 17:57:45 UTC
Maybe I lied -- it looks like the attachment worked.
Comment 6 Torbjorn Norbye 2007-10-16 17:35:46 UTC
*** Issue 112148 has been marked as a duplicate of this issue. ***
Comment 7 Torbjorn Norbye 2007-10-30 16:51:00 UTC
I'm not sure what exactly this could be, but userdir settings may change incompatibly among the daily builds (we work to
preserve compatibility among major releases) so this was probably a matter of some setting name changes. 

Please reopen if you see problems with syntax highlighting now.