mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-03-01 04:46:02 +01:00
parent
a83d71aa39
commit
113597333c
@ -26,7 +26,6 @@ import com.intellij.ui.paint.PaintUtil;
|
||||
import com.intellij.util.ui.JBUI;
|
||||
import com.maddyhome.idea.vim.VimPlugin;
|
||||
import com.maddyhome.idea.vim.group.EditorHolderService;
|
||||
import com.maddyhome.idea.vim.helper.UiHelper;
|
||||
import com.maddyhome.idea.vim.history.HistoryConstants;
|
||||
import com.maddyhome.idea.vim.history.HistoryEntry;
|
||||
import com.maddyhome.idea.vim.newapi.IjVimEditor;
|
||||
@ -202,15 +201,8 @@ public class ExTextField extends JTextField {
|
||||
}
|
||||
}
|
||||
|
||||
// fix https://youtrack.jetbrains.com/issue/VIM-570
|
||||
private void resetFont(String string) {
|
||||
super.setFont(UiHelper.selectFont(string));
|
||||
}
|
||||
|
||||
private void updateText(String string) {
|
||||
super.setText(string);
|
||||
|
||||
resetFont(string);
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -218,7 +210,6 @@ public class ExTextField extends JTextField {
|
||||
super.setText(string);
|
||||
|
||||
saveLastEntry();
|
||||
resetFont(string);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
Loading…
Reference in New Issue
Block a user