Search code examples
c#text-editoricsharpcode

Word Wrap in ICSharpcode TextEditor


I'm using the ICSharpcode text editor, and I am looking for a way to do Word Wrap in it. Is there any documentation for this other than the source code? My only documentation so far has been the Code Project article, and the source code for Kaxaml. Most importantly, how does one turn WordWrap on in the editor? Second, is there any documentation that I am missing for the editor?


Solution

  • The ICSharpCode.TextEditor does not support word wrapping yet. It will support it in SharpDevelop 4. See this forum post, among others. You can download SharpDevelop 4 Alpha from their build server.

    In order to implement support for word wrapping yourself, you're gonna have to jump through a lot of hoops. And these hoops will all be on fire. If you really need this, in SharpDevelop 3, a good place to look for the code to word-wrap is DeveloperFusion as Jon T suggested.