Ejemplo n.º 1
0
 private void CustomOpenAndSelectHandler(string absfilepath, ISyntaxEditorTextRange textrange)
 {
     m_gotoService.GotoFileAndHighlightRange(absfilepath, textrange.StartOffset, textrange.EndOffset);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Replaces all text based on options in text range</summary>
 /// <param name="options">Find/replace options</param>
 /// <param name="textRange">Text range in which to replace text</param>
 /// <returns>Find/replace result set</returns>
 public ISyntaxEditorFindReplaceResultSet ReplaceAll(ISyntaxEditorFindReplaceOptions options, ISyntaxEditorTextRange textRange)
 {
     var results = Document.FindReplace.ReplaceAll((FindReplaceOptions) options,
                                                                    new TextRange(textRange.StartOffset,
                                                                                  textRange.EndOffset));
     return new SyntaxEditorFindReplaceResultSet(results);
 }
Ejemplo n.º 3
0
 private void CustomOpenAndSelectHandler(string absfilepath, ISyntaxEditorTextRange textrange)
 {
     m_gotoService.GotoFileAndHighlightRange(absfilepath, textrange.StartOffset, textrange.EndOffset);
 }