From 5f1d0213e0dadecc8f93d44e36ea3a11a1aa9baa Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Tue, 13 Mar 2018 17:16:24 +0100 Subject: limit to html safe color plus several ones, crowIDE wip --- CrowIDE/src/Editors/CodeBuffer/TextEditor.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'CrowIDE/src/Editors/CodeBuffer/TextEditor.cs') diff --git a/CrowIDE/src/Editors/CodeBuffer/TextEditor.cs b/CrowIDE/src/Editors/CodeBuffer/TextEditor.cs index 69233e18..6b7234dc 100644 --- a/CrowIDE/src/Editors/CodeBuffer/TextEditor.cs +++ b/CrowIDE/src/Editors/CodeBuffer/TextEditor.cs @@ -37,12 +37,12 @@ using System.Diagnostics; using System.IO; using System.Threading; -namespace Crow.Coding +namespace Crow.Text { /// /// Scrolling text box optimized for monospace fonts, for coding /// - public class TextEditor : Editor + public class TextEditor : Crow.Coding.Editor { #region CTOR public TextEditor (): base() @@ -152,20 +152,20 @@ namespace Crow.Coding editorMutex.ExitWriteLock (); } - void Buffer_LineAdditionEvent (object sender, CodeBufferEventArgs e) + void Buffer_LineAdditionEvent (object sender, TextBufferEventArgs e) { updateMaxScrollY (); RegisterForGraphicUpdate (); isDirty = true; } - void Buffer_LineRemoveEvent (object sender, CodeBufferEventArgs e) + void Buffer_LineRemoveEvent (object sender, TextBufferEventArgs e) { updateMaxScrollY (); RegisterForGraphicUpdate (); notifyPositionChanged (); isDirty = true; } - void Buffer_LineUpadateEvent (object sender, CodeBufferEventArgs e) + void Buffer_LineUpadateEvent (object sender, TextBufferEventArgs e) { RegisterForGraphicUpdate (); notifyPositionChanged (); -- cgit v1.3.1-4-g156e