Skip to content

Commit

Permalink
new currentLine color API
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillp committed Oct 30, 2024
1 parent 9bbb653 commit 0e952d9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
15 changes: 8 additions & 7 deletions demo-edit-es-module/module/editor.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,15 +184,16 @@ export const enum ThemeColor {
EditorBackground = 11,
EditorForeground = 12,
CurrentLineBackground = 13,
CurrentLineBorder = 14,

// editor diff
DeletedRegionBackground = 14,
DeletedTextBackground = 15,
InsertedRegionBackground = 16,
InsertedTextBackground = 17,
LineNumberForeground = 18,
ActiveLineNumberForeground = 19,
LineNumberActiveForeground = 20
DeletedRegionBackground = 15,
DeletedTextBackground = 16,
InsertedRegionBackground = 17,
InsertedTextBackground = 18,
LineNumberForeground = 19,
ActiveLineNumberForeground = 20,
LineNumberActiveForeground = 21

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,17 @@ public class EditorColorScheme {
public static final int EditorBackground = 11;
public static final int EditorForeground = 12;
public static final int CurrentLineBackground = 13;
public static final int CurrentLineBorder = 14;

// editor diff
public static final int DeletedRegionBackground = 14;
public static final int DeletedTextBackground = 15;
public static final int InsertedRegionBackground = 16;
public static final int InsertedTextBackground = 17;

public static final int LineNumberForeground = 18;
public static final int ActiveLineNumberForeground = 19;
public static final int LineNumberActiveForeground = 20;
public static final int DeletedRegionBackground = 15;
public static final int DeletedTextBackground = 16;
public static final int InsertedRegionBackground = 17;
public static final int InsertedTextBackground = 18;

public static final int LineNumberForeground = 19;
public static final int ActiveLineNumberForeground = 20;
public static final int LineNumberActiveForeground = 21;

public static final int LastIndex = LineNumberActiveForeground + 1;

Expand Down

0 comments on commit 0e952d9

Please sign in to comment.