From 86238b1031ff73dc5f4be48033ba674189224e3a Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Tue, 2 Feb 2016 01:13:08 +0100 Subject: debug --- src/GraphicObjects/TextBox.cs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/GraphicObjects/TextBox.cs') diff --git a/src/GraphicObjects/TextBox.cs b/src/GraphicObjects/TextBox.cs index f2fdace6..7d67e825 100644 --- a/src/GraphicObjects/TextBox.cs +++ b/src/GraphicObjects/TextBox.cs @@ -92,7 +92,7 @@ namespace Crow break; case Key.Delete: if (selectionIsEmpty) - currentCol++; + CurrentColumn++; this.DeleteChar (); break; case Key.Enter: @@ -101,33 +101,33 @@ namespace Crow break; case Key.Escape: Text = ""; - currentCol = 0; + CurrentColumn = 0; SelRelease = -1; break; case Key.Home: //TODO if (e.Control) - currentLine = 0; - currentCol = 0; + CurrentLine = 0; + CurrentColumn = 0; break; case Key.End: if (e.Control) - currentLine = int.MaxValue; - currentCol = int.MaxValue; + CurrentLine = int.MaxValue; + CurrentColumn = int.MaxValue; break; case Key.Insert: break; case Key.Left: - currentCol--; + CurrentColumn--; break; case Key.Right: - currentCol++; + CurrentColumn++; break; case Key.Up: - currentLine--; + CurrentLine--; break; case Key.Down: - currentLine++; + CurrentLine++; break; case Key.Menu: break; @@ -191,7 +191,7 @@ namespace Crow this.Insert (k); SelRelease = -1; - SelBegin = new Point(currentCol, SelBegin.Y); + SelBegin = new Point(CurrentColumn, SelBegin.Y); break; } -- cgit v1.3.1-4-g156e