From cd864d290accc3611ea5785fbb2c4825020ed2b6 Mon Sep 17 00:00:00 2001 From: Alexander Zolotov Date: Fri, 7 Jun 2019 20:12:13 +0300 Subject: [PATCH] TextMate: support highlighting unregistered token types GitOrigin-RevId: 24df4192eecc0d62c0e5c06c08d259643ca09c6a --- .../intellij/openapi/editor/ex/util/ShortBasedStorage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/core-impl/src/com/intellij/openapi/editor/ex/util/ShortBasedStorage.java b/platform/core-impl/src/com/intellij/openapi/editor/ex/util/ShortBasedStorage.java index 5ad7576380c5..4acb119017a4 100644 --- a/platform/core-impl/src/com/intellij/openapi/editor/ex/util/ShortBasedStorage.java +++ b/platform/core-impl/src/com/intellij/openapi/editor/ex/util/ShortBasedStorage.java @@ -13,13 +13,13 @@ import static com.intellij.openapi.editor.ex.util.SegmentArray.calcCapacity; * {@link IElementType} index and and restartability of the state (positive values are for initial state). */ public class ShortBasedStorage implements DataStorage { - short[] myData; + protected short[] myData; public ShortBasedStorage() { myData = new short[INITIAL_SIZE]; } - private ShortBasedStorage(short[] data) { + protected ShortBasedStorage(short[] data) { myData = data; }