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
commit4b39241bad2eb55a91305c4aa5197c1640e81c48 (patch)
treec7c69917b6d2ac1ec985c9cddd5f66961c0f26cd /src/GraphicObjects/TextBox.cs
parentda33782c4ab475d0e8c1216f13ecbff2450ec546 (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) {