aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/TextBox.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-08-26 10:24:39 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-08-26 10:24:39 +0200
commit65cf1452510c336fcd69f9922774389d6c3b1aee (patch)
treed43e2e104d55291f7dffa7f1731db9ad108e1fcb /src/GraphicObjects/TextBox.cs
parent5f68cf21b47b88e4e1de7fed7bd9b8b56b5dfa3d (diff)
remove Initialise, currentInterface is set by instanciator
Diffstat (limited to 'src/GraphicObjects/TextBox.cs')
-rw-r--r--src/GraphicObjects/TextBox.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GraphicObjects/TextBox.cs b/src/GraphicObjects/TextBox.cs
index 0cbee9f8..5e2d55cb 100644
--- a/src/GraphicObjects/TextBox.cs
+++ b/src/GraphicObjects/TextBox.cs
@@ -85,7 +85,7 @@ namespace Crow
if (!MoveRight ())
return;
}else if (e.Shift)
- CurrentInterface.Clipboard = this.SelectedText;
+ currentInterface.Clipboard = this.SelectedText;
this.DeleteChar ();
break;
case Key.Enter:
@@ -134,9 +134,9 @@ namespace Crow
break;
case Key.Insert:
if (e.Shift)
- this.Insert (CurrentInterface.Clipboard);
+ this.Insert (currentInterface.Clipboard);
else if (e.Control && !selectionIsEmpty)
- CurrentInterface.Clipboard = this.SelectedText;
+ currentInterface.Clipboard = this.SelectedText;
break;
case Key.Left:
if (e.Shift) {