mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-64848 Soft wraps: NullPointerException at EditorImpl.paintBackgrounds()
Null check is added
This commit is contained in:
@@ -1782,7 +1782,7 @@ public final class EditorImpl extends UserDataHolderBase implements EditorEx, Hi
|
||||
if (softWrap != null) {
|
||||
softWrapsToSkip.add(softWrap.getStart());
|
||||
Color color = null;
|
||||
if (!backColor.equals(defaultBackground)) {
|
||||
if (backColor != null && !backColor.equals(defaultBackground)) {
|
||||
color = backColor;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user