aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/ScrollingTextBox.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-11-05 23:02:49 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-11-05 23:02:49 +0100
commit5185d70ddd14728576bafdfea267981baed88d84 (patch)
tree28ecf610198dc524f927f953a952cbc7f1717498 /src/GraphicObjects/ScrollingTextBox.cs
parent8d59e42e78db11afaf9b2f6530403a12b1d1926c (diff)
parent28788991d650bc8ba29b9c2817dbb757129977e5 (diff)
merge
Diffstat (limited to 'src/GraphicObjects/ScrollingTextBox.cs')
-rw-r--r--src/GraphicObjects/ScrollingTextBox.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/GraphicObjects/ScrollingTextBox.cs b/src/GraphicObjects/ScrollingTextBox.cs
index c409d022..a435f9ee 100644
--- a/src/GraphicObjects/ScrollingTextBox.cs
+++ b/src/GraphicObjects/ScrollingTextBox.cs
@@ -464,12 +464,12 @@ namespace Crow
public override void onMouseEnter (object sender, MouseMoveEventArgs e)
{
base.onMouseEnter (sender, e);
- currentInterface.MouseCursor = XCursor.Text;
+ CurrentInterface.MouseCursor = XCursor.Text;
}
public override void onMouseLeave (object sender, MouseMoveEventArgs e)
{
base.onMouseLeave (sender, e);
- currentInterface.MouseCursor = XCursor.Default;
+ CurrentInterface.MouseCursor = XCursor.Default;
}
protected override void onFocused (object sender, EventArgs e)
{
@@ -555,7 +555,7 @@ namespace Crow
if (!MoveRight ())
return;
}else if (e.Shift)
- currentInterface.Clipboard = this.SelectedText;
+ CurrentInterface.Clipboard = this.SelectedText;
this.DeleteChar ();
break;
case Key.Enter:
@@ -601,9 +601,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) {