MCPcopy Index your code
hub / github.com/beanshell/beanshell / cut

Method cut

src/bsh/util/JConsole.java:98–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96 text = new JTextPane( doc=new DefaultStyledDocument() )
97 {
98 public void cut() {
99 if (text.getCaretPosition() < cmdStart) {
100 super.copy();
101 } else {
102 super.cut();
103 }
104 }
105
106 public void paste() {
107 forceCaretMoveToEnd();

Callers 1

actionPerformedMethod · 0.80

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected