parent
f62573a3b8
commit
7126d13b6f
@ -5,6 +5,7 @@
|
||||
## [Unreleased]
|
||||
### Changed
|
||||
- Documentation provider better focuses on the actual translation part
|
||||
- Color duplicate translation values orange to increase contrast in light themes
|
||||
|
||||
### Fixed
|
||||
- Unintended overwrite of existing folding regions
|
||||
|
@ -78,8 +78,8 @@ public class TreeModelMapper extends DefaultTreeModel {
|
||||
data.setForcedTextForeground(JBColor.RED);
|
||||
color = JBColor.RED;
|
||||
} else if(TranslationUtil.hasDuplicates(new Translation(keyPath, childTranslationNode.getValue()), this.data)) {
|
||||
data.setForcedTextForeground(JBColor.YELLOW);
|
||||
color = JBColor.YELLOW;
|
||||
data.setForcedTextForeground(JBColor.ORANGE);
|
||||
color = JBColor.ORANGE;
|
||||
}
|
||||
|
||||
parent.add(new DefaultMutableTreeNode(data));
|
||||
|
@ -28,7 +28,7 @@ public class TableRenderer extends DefaultTableCellRenderer {
|
||||
if(missesValues(row, table)) {
|
||||
component.setForeground(JBColor.RED);
|
||||
} else if(hasDuplicates(row, table)) {
|
||||
component.setForeground(JBColor.YELLOW);
|
||||
component.setForeground(JBColor.ORANGE);
|
||||
}
|
||||
|
||||
return component;
|
||||
|
Loading…
x
Reference in New Issue
Block a user