aboutsummaryrefslogtreecommitdiffstatsci
path: root/CrowIDE/src/Editors/CodeBuffer/TextEditor.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-03-13 17:16:24 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-03-13 17:16:24 +0100
commit5f1d0213e0dadecc8f93d44e36ea3a11a1aa9baa (patch)
tree8c01fd9b8f9e446d17adf9c415e0a4d6ef988a18 /CrowIDE/src/Editors/CodeBuffer/TextEditor.cs
parent99d63b94c2e0e09eae8efb67e720920c130f7346 (diff)
limit to html safe color plus several ones, crowIDE wip
Diffstat (limited to 'CrowIDE/src/Editors/CodeBuffer/TextEditor.cs')
-rw-r--r--CrowIDE/src/Editors/CodeBuffer/TextEditor.cs10
1 files changed, 5 insertions, 5 deletions
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
{
/// <summary>
/// Scrolling text box optimized for monospace fonts, for coding
/// </summary>
- 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 ();