mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Take colors and keys for find in terminal from settings.
This commit is contained in:
+11
@@ -102,6 +102,11 @@ public class JBTerminalSystemSettingsProvider extends DefaultTabbedSettingsProvi
|
||||
return getKeyStrokesByActionId("PreviousTab");
|
||||
}
|
||||
|
||||
@Override
|
||||
public KeyStroke[] getFindKeyStrokes() {
|
||||
return getKeyStrokesByActionId("Find");
|
||||
}
|
||||
|
||||
@Override
|
||||
public ColorPalette getTerminalColorPalette() {
|
||||
return new JBTerminalSchemeColorPalette(myColorScheme);
|
||||
@@ -151,6 +156,12 @@ public class JBTerminalSystemSettingsProvider extends DefaultTabbedSettingsProvi
|
||||
TerminalColor.awt(myColorScheme.getColor(EditorColors.SELECTION_BACKGROUND_COLOR)));
|
||||
}
|
||||
|
||||
@Override
|
||||
public TextStyle getFoundPatternColor() {
|
||||
return new TextStyle(TerminalColor.awt(myColorScheme.getAttributes(EditorColors.TEXT_SEARCH_RESULT_ATTRIBUTES).getForegroundColor()),
|
||||
TerminalColor.awt(myColorScheme.getAttributes(EditorColors.TEXT_SEARCH_RESULT_ATTRIBUTES).getBackgroundColor()));
|
||||
}
|
||||
|
||||
@Override
|
||||
public TextStyle getDefaultStyle() {
|
||||
return new TextStyle(TerminalColor.awt(myColorScheme.getDefaultForeground()), TerminalColor.awt(
|
||||
|
||||
Reference in New Issue
Block a user