diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2017-09-11 18:03:35 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2017-09-11 18:03:35 +0200 |
| commit | dc8d870b76c445b6ef979ff58c2260e88793d167 (patch) | |
| tree | ab0b76d5fbf180a1afc3bdf62c1b74a129496688 /src/GraphicObjects/ScrollingTextBox.cs | |
| parent | 7f10fe9ea2a4538843401c54d4518376a69b242d (diff) | |
revert 65cf1452510c336fcd69f9922774389d6c3b1aee, to allow widget creation from code
Diffstat (limited to 'src/GraphicObjects/ScrollingTextBox.cs')
| -rw-r--r-- | src/GraphicObjects/ScrollingTextBox.cs | 10 |
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) { |