mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-116486 Option to link console font setting to editor wanted
i18n
This commit is contained in:
+2
-1
@@ -16,6 +16,7 @@
|
||||
|
||||
package com.intellij.application.options.colors;
|
||||
|
||||
import com.intellij.openapi.application.ApplicationBundle;
|
||||
import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.editor.colors.EditorColorsScheme;
|
||||
import com.intellij.openapi.options.colors.ColorSettingsPage;
|
||||
@@ -55,7 +56,7 @@ public class NewColorAndFontPanel extends JPanel {
|
||||
top.add(myOptionsPanel.getPanel(), BorderLayout.CENTER);
|
||||
if (optionsPanel instanceof ConsoleFontOptions) {
|
||||
JPanel wrapper = new JPanel(new FlowLayout(FlowLayout.TRAILING));
|
||||
wrapper.add(new JButton(new AbstractAction("Apply editor font settings") {
|
||||
wrapper.add(new JButton(new AbstractAction(ApplicationBundle.message("action.apply.editor.font.settings")) {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
EditorColorsScheme scheme = ((ConsoleFontOptions)myOptionsPanel).getCurrentScheme();
|
||||
|
||||
@@ -503,6 +503,7 @@ error.scheme.must.have.a.name=Scheme must have a name
|
||||
error.illegal.scheme.name=Illegal scheme name
|
||||
error.a.scheme.with.this.name.already.exists.or.was.deleted.without.applying.the.changes=A scheme with this name already exists or was deleted without applying the changes
|
||||
title.select.font=Select Font
|
||||
action.apply.editor.font.settings=Apply editor font settings
|
||||
checkbox.show.only.monospaced.fonts=Show only monospaced fonts
|
||||
primary.font=Primary font:
|
||||
secondary.font=Secondary font:
|
||||
|
||||
Reference in New Issue
Block a user