GetLogicalColumn() private method

private GetLogicalColumn ( int lineNumber, int visualPosX, ICSharpCode.TextEditor.Document.FoldMarker &inFoldMarker ) : TextLocation
lineNumber int
visualPosX int
inFoldMarker ICSharpCode.TextEditor.Document.FoldMarker
return TextLocation
 public void SetCaretToDesiredColumn(int caretLine)
 {
     Caret.Position = textView.GetLogicalColumn(Caret.Line, Caret.DesiredColumn + (int)(VirtualTop.X * textView.WideSpaceWidth));
 }
示例#2
0
        public void SetCaretToDesiredColumn()
        {
            FoldMarker dummy;

            Caret.Position = textView.GetLogicalColumn(Caret.Line, Caret.DesiredColumn + VirtualTop.X, out dummy);
        }
示例#3
0
        public void SetCaretToDesiredColumn(int caretLine)
        {
//			Console.WriteLine("Calling GetLogicalColumn, DesiredColumn = " + Caret.DesiredColumn);
            Caret.Position = textView.GetLogicalColumn(Caret.Line, Caret.DesiredColumn + (int)(VirtualTop.X * textView.GetWidth(' ')));
//			Console.WriteLine("SetCaretToDesiredColumn : " + Caret.Position);
        }