1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-03 06:45:59 +02:00

Hilite matching parentheses under cursor

This commit is contained in:
blat-blatnik 2022-01-11 22:48:08 +01:00
parent ed6959973a
commit 85ac4d5f83
4 changed files with 129 additions and 7 deletions

View file

@ -326,6 +326,7 @@ namespace IDE
public Color mVisibleWhiteSpace = 0xFF9090C0;
public Color mCurrentLineHilite = 0xFF4C4C54;
public Color mCurrentLineNumberHilite = 0x18FFFFFF;
public Color mMatchingParensHilite = 0x28FFFFFF;
public void Deserialize(StructuredData sd)
{
@ -386,6 +387,7 @@ namespace IDE
GetColor("VisibleWhiteSpace", ref mVisibleWhiteSpace);
GetColor("CurrentLineHilite", ref mCurrentLineHilite);
GetColor("CurrentLineNumberHilite", ref mCurrentLineNumberHilite);
GetColor("MatchingParensHilite", ref mMatchingParensHilite);
}
public void Apply()
@ -417,6 +419,7 @@ namespace IDE
DarkTheme.COLOR_MENU_FOCUSED = mMenuFocused;
DarkTheme.COLOR_MENU_SELECTED = mMenuSelected;
DarkTheme.COLOR_CURRENT_LINE_HILITE = mCurrentLineHilite;
DarkTheme.COLOR_MATCHING_PARENS_HILITE = mMatchingParensHilite;
}
}