public HResult GetTextBuffer(out INiTextBuffer textBuffer)
            {
                textBuffer = null;

                try
                {
                    if (_textBufferShim == null)
                    {
                        _textBufferShim = new NiTextLines(_textAreaControl.Document);
                    }

                    textBuffer = _textBufferShim;

                    return(HResult.OK);
                }
                catch (Exception ex)
                {
                    return(ErrorUtil.GetHResult(ex));
                }
            }
 public HResult GetTextBuffer(out INiTextBuffer textBuffer)
 {
     textBuffer = _textLines;
     return HResult.OK;
 }
示例#3
0
 public HResult GetTextBuffer(out INiTextBuffer textBuffer)
 {
     textBuffer = _textLines;
     return(HResult.OK);
 }
            public HResult GetTextBuffer(out INiTextBuffer textBuffer)
            {
                textBuffer = null;

                try
                {
                    if (_textBufferShim == null)
                        _textBufferShim = new NiTextLines(_textAreaControl.Document);

                    textBuffer = _textBufferShim;

                    return HResult.OK;
                }
                catch (Exception ex)
                {
                    return ErrorUtil.GetHResult(ex);
                }
            }
示例#5
0
 HResult INiTextBufferProvider.GetTextBuffer(out INiTextBuffer textBuffer)
 {
     textBuffer = _textLines;
     return(HResult.OK);
 }
示例#6
0
 HResult INiTextBufferProvider.GetTextBuffer(out INiTextBuffer textBuffer)
 {
     textBuffer = _textLines;
     return HResult.OK;
 }