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 134346 - Changing diff colors does not affect Error Stripe or Diff Sidebar.
Summary: Changing diff colors does not affect Error Stripe or Diff Sidebar.
Status: NEW
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 7 votes (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-01 20:18 UTC by malfunction84
Modified: 2014-06-11 00:17 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description malfunction84 2008-05-01 20:18:22 UTC
Settings defined in Tools > Options > Fonts & Colors > Diff are completely ignored by the Error Stripe and Diff 
Sidebar.  If I change my editor colors, I'd like to be able to change the inline diff colors as well.  This was pointed 
out in Issue# 104632 but never addressed.  If you want to have the option to have different colors in a side-by-side 
diff versus inline diff, can't you just have separate color options for them?
Comment 1 malfunction84 2008-05-01 20:28:01 UTC
While we're at it, can we have a separate option for the Diff Sidebar background color?  I like to set the Code Folding 
Sidebar to have the same background as the line numbers, and I would set my Diff Sidebar to have the same background 
color too if I had the option.  Then the editable area of the text can all be a separate color.

I'm modifying my original request to just add new color options:
- Diff Window
  o Color of Added Text (already exists)
  o Color of Changed Text (already exists)
  o Color of Removed Text (already exists)
- Diff Sidebar
  + Color of Added Text
  + Color of Changed Text
  + Color of Removed Text
  + Background
- Diff Error Stripe
  + Color of Added Text
  + Color of Changed Text
  + Color of Removed Text
Comment 2 nazggul 2008-09-14 11:40:01 UTC
It would be also useful to have an opportunity to change background of pop-up windows which are displaying unchanged or
deleted text.
Comment 3 jeremyclarke 2012-01-18 23:23:22 UTC
+1 this is really necessary. It's just confusing right now that no matter what you are trapped with the standard pale red/green/blue when you are able to change those colors in the actual Diff screen. When using a dark theme (Like Solarized Dark which I started using recently https://github.com/fentie/netbeans-colors-solarized ) the default colors look very tacky in the sidebar and are distracting to me.
Comment 4 dharkness 2014-06-11 00:17:03 UTC
+1

I use a screen inverter all the time for my light-sensitive eyes which turns red to green and vice versa.

1. It's annoying to see green for added lines in the diff view but red for those same lines in the sidebar.

2. I would like to be able to hide the diff colors in the error bar on the right side of the editor. Once a file gets heavily modified it becomes impossible for me to see markers, e.g., references to the selected field/method.