OSDN Git Service

DrawLineNumberでしていることは同じなのでコントローラーに書くことにした
[fooeditengine/FooEditEngine.git] / Windows / FooEditEngine / FooTextBox.cs
index 7a55291..c0e7a0e 100644 (file)
@@ -232,7 +232,6 @@ namespace FooEditEngine.Windows
             set
             {
                 this.Document.DrawLineNumber = value;
-                this.JumpCaret(this.CaretPostion.row,this.CaretPostion.col);
             }
         }
         
@@ -329,11 +328,11 @@ namespace FooEditEngine.Windows
         {
             get
             {
-                return this.render.ShowFullSpace;
+                return this.Document.ShowFullSpace;
             }
             set
             {
-                this.render.ShowFullSpace = value;
+                this.Document.ShowFullSpace = value;
             }
         }
 
@@ -345,11 +344,11 @@ namespace FooEditEngine.Windows
         {
             get
             {
-                return this.render.ShowHalfSpace;
+                return this.Document.ShowHalfSpace;
             }
             set
             {
-                this.render.ShowHalfSpace = value;
+                this.Document.ShowHalfSpace = value;
             }
         }
 
@@ -361,11 +360,11 @@ namespace FooEditEngine.Windows
         {
             get
             {
-                return this.render.ShowTab;
+                return this.Document.ShowTab;
             }
             set
             {
-                this.render.ShowTab = value;
+                this.Document.ShowTab = value;
             }
         }
 
@@ -377,11 +376,11 @@ namespace FooEditEngine.Windows
         {
             get
             {
-                return this.render.ShowLineBreak;
+                return this.Document.ShowLineBreak;
             }
             set
             {
-                this.render.ShowLineBreak = value;
+                this.Document.ShowLineBreak = value;
             }
         }