2008-09-03 2 views

답변

7

ICSharpCode.TextEditor을 강조하기 위해 사용자 정의 할 수

  • 능력 무료 꽤 안정적이다. 상용 솔루션 Actipro의 SyntaxEditor에 대한
    으로는 최선의 선택

  • +0

    SnippetCompiler http://www.sliver.com/dotnet/SnippetCompiler/는 편집기에도 ActiPro를 사용합니다. –

    +0

    BTW, ActiPro는 클라이언트 프로파일을 지원하지 않습니다. –

    3

    는 우수한 Scintilla 컨트롤 주위에 닷넷 윈폼 래퍼 ScintillaNET 밖으로 시도를 할 수 있습니다. Scintilla 자체는 매우 사용자 정의가 가능하고 요청한 모든 기능을 갖춘 무료 소스 코드 편집기 구성 요소입니다. 스크린 샷을 보려면 here을 참조하십시오.

    +1

    ScintillaNET의 유일한 문제는 Scintilla를 끌어 들이기 위해 더 많은 관리되지 않는 종속성이 있다는 것입니다. –

    +0

    ScintillaNET에 대한 약간의 업데이트 - 지금까지 (9/2011) 바인딩이 불완전하고 버그를 찾기가 어렵습니다. 예를 들어, 전체 라인을 선택하면, 첫 번째 문자는 하이라이트되지만 선택 항목에는 표시되지 않습니다 - 바로 지금 ScintillaNet 대체품을 찾고 있습니다 ... – Corelgott

    4

    향상된 ICSharpCode.TextEditor는 Scintilla.Net과 비교하면 간단합니다. ICSharpCode.TextEditor의 또 다른 큰 이점은 자신 만의 Syntax Highlighting을 사용자 정의/빌드 할 수 있다는 것입니다 (예 : https://github.com/icsharpcode/SharpDevelop/wiki/Syntax-highlighting).

    하지만 ICSharpCode.TextEditor은 AccessViolations과의 수수께끼를 안정,되지 않습니다 : http://www.codeproject.com/Articles/30936/Using-ICSharpCode-TextEditor

    GitHub의에이 빌드는, 윈폼에서 잘 작동하지만 : 다운로드하여 https://www.google.com.au/search?q=icsharpcode.texteditor+accessviolationexception

    당신이 AccessViolations에게 먼저 손을 볼 수 있습니다 VSTO에서는 여전히 액세스 위반이라고 비명을 지르고 있습니다. https://github.com/KindDragon/ICSharpCode.TextEditor

    DigitalRune's version of the ICsharp.TextEditor과 동일합니다.

    최신 WPF 구현을 권장합니다 : ICSharp.AvalonEdit. 당신은 윈폼에서이 WPF 컨트롤 호스팅해야하는 경우

    : 내가 건너 온

    public Form1() 
    { 
    InitializeComponent(); 
    ICSharpCode.AvalonEdit.TextEditor te = new ICSharpCode.AvalonEdit.TextEditor(); 
    ElementHost host = new ElementHost(); 
    host.Size = new Size(200, 100); 
    host.Location = new Point(100, 100); 
    host.Child = te; 
    this.Controls.Add(host); 
    } 
    


    일부 상용 사람 (나는이 회사와 제휴하지있어주의) : http://www.actiprosoftware.com/products/controls/windowsforms/syntaxeditor http://www.qwhale.net/products/editor.htm