set;
}
+ public bool ShowFullSpace
+ {
+ get;
+ set;
+ }
+
+ public bool ShowHalfSpace
+ {
+ get;
+ set;
+ }
+
+ public bool ShowTab
+ {
+ get;
+ set;
+ }
+
+ public bool ShowLineBreak
+ {
+ get;
+ set;
+ }
+
public event ChangedRenderResourceEventHandler ChangedRenderResource;
public event EventHandler ChangedRightToLeft;
throw new NotImplementedException();
}
- public void DrawString(string str, double x, double y, StringAlignment align, Size layoutRect)
+ public void DrawString(string str, double x, double y, StringAlignment align, Size layoutRect,StringColorType type)
{
throw new NotImplementedException();
}
throw new NotImplementedException();
}
- public void DrawOneLine(LineToIndexTable lti, int row, double x, double y, IEnumerable<Selection> SelectRanges)
+ public void DrawOneLine(Document doc, LineToIndexTable lti, int row, double x, double y)
{
throw new NotImplementedException();
}
- public List<LineToIndexTableData> BreakLine(Document doc, int startIndex, int endIndex, double wrapwidth)
+ public List<LineToIndexTableData> BreakLine(Document doc,LineToIndexTable layoutLineCollection, int startIndex, int endIndex, double wrapwidth)
{
throw new NotImplementedException();
}
- public ITextLayout CreateLaytout(string str, SyntaxInfo[] syntaxCollection, IEnumerable<Marker> MarkerRanges)
+ public void DrawGripper(Point p, double radius)
+ {
+ throw new NotImplementedException();
+ }
+
+ public void BeginClipRect(Rectangle rect)
+ {
+ }
+
+ public void EndClipRect()
+ {
+ }
+
+ public ITextLayout CreateLaytout(string str, SyntaxInfo[] syntaxCollection, IEnumerable<Marker> MarkerRanges, IEnumerable<Selection> Selections, double WrapWidth)
{
return new DummyTextLayout();
}
public int GetIndexFromColPostion(double x)
{
- throw new NotImplementedException();
+ return 0;
}
public double GetWidthFromIndex(int index)
{
- throw new NotImplementedException();
+ return 0;
}
public double GetColPostionFromIndex(int index)
{
- throw new NotImplementedException();
+ return index;
}
public int AlignIndexToNearestCluster(int index, AlignDirection flow)
{
- throw new NotImplementedException();
+ if(flow == AlignDirection.Back)
+ return Math.Max(index - 1,0);
+ if (flow == AlignDirection.Forward)
+ return index + 1;
+ throw new ArgumentOutOfRangeException("flowの値がおかしい");
}
public void Dispose()
{
this.Disposed = true;
}
+
+ public int GetIndexFromPostion(double x, double y)
+ {
+ return 0;
+ }
+
+ public Point GetPostionFromIndex(int index)
+ {
+ return new Point(0,0);
+ }
}
}