mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
JediTerm => version 0.05
This commit is contained in:
Binary file not shown.
@@ -9,7 +9,6 @@ import com.intellij.openapi.util.WriteExternalException;
|
||||
import com.intellij.ui.components.JBScrollBar;
|
||||
import com.intellij.util.containers.HashMap;
|
||||
import com.jediterm.terminal.display.BackBuffer;
|
||||
import com.jediterm.terminal.display.LinesBuffer;
|
||||
import com.jediterm.terminal.display.StyleState;
|
||||
import com.jediterm.terminal.ui.SwingJediTerminal;
|
||||
import com.jediterm.terminal.ui.SwingTerminalPanel;
|
||||
@@ -27,8 +26,8 @@ public class JBTerminal extends SwingJediTerminal {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected SwingTerminalPanel createTerminalPanel(StyleState styleState, BackBuffer backBuffer, LinesBuffer scrollBuffer) {
|
||||
return new JBTerminalPanel(backBuffer, scrollBuffer, styleState, getColorScheme());
|
||||
protected SwingTerminalPanel createTerminalPanel(StyleState styleState, BackBuffer backBuffer) {
|
||||
return new JBTerminalPanel(backBuffer, styleState, getColorScheme());
|
||||
}
|
||||
|
||||
public EditorColorsScheme getColorScheme() {
|
||||
|
||||
@@ -27,7 +27,6 @@ import com.intellij.openapi.ide.CopyPasteManager;
|
||||
import com.intellij.util.ui.GraphicsUtil;
|
||||
import com.jediterm.terminal.TextStyle;
|
||||
import com.jediterm.terminal.display.BackBuffer;
|
||||
import com.jediterm.terminal.display.LinesBuffer;
|
||||
import com.jediterm.terminal.display.StyleState;
|
||||
import com.jediterm.terminal.ui.SwingTerminalPanel;
|
||||
|
||||
@@ -41,8 +40,8 @@ import java.io.IOException;
|
||||
public class JBTerminalPanel extends SwingTerminalPanel {
|
||||
private final EditorColorsScheme myColorScheme;
|
||||
|
||||
public JBTerminalPanel(BackBuffer backBuffer, LinesBuffer scrollBuffer, StyleState styleState, EditorColorsScheme scheme) {
|
||||
super(backBuffer, scrollBuffer, styleState);
|
||||
public JBTerminalPanel(BackBuffer backBuffer, StyleState styleState, EditorColorsScheme scheme) {
|
||||
super(backBuffer, styleState);
|
||||
myColorScheme = scheme;
|
||||
|
||||
styleState.setDefaultStyle(new TextStyle(myColorScheme.getDefaultForeground(), myColorScheme.getDefaultBackground()));
|
||||
|
||||
@@ -42,13 +42,12 @@
|
||||
<orderEntry type="module-library">
|
||||
<library name="jediterm-pty">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/jediterm-pty-0.04.jar!/" />
|
||||
<root url="jar://$MODULE_DIR$/lib/jediterm-pty-0.05.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module" module-name="jediterm" />
|
||||
</component>
|
||||
</module>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user