Kris Erickson
Kris Erickson

Reputation: 33844

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?

Upvotes: 2

Views: 2651

Answers (3)

leppie
leppie

Reputation: 117310

Word wrapping is very hard to get right and still have the renderer fast.

Upvotes: 0

configurator
configurator

Reputation: 41670

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.

Upvotes: 2

Jon Tackabury
Jon Tackabury

Reputation: 49289

I found this information about the editor:

http://community.icsharpcode.net/forums/p/100/19865.aspx

The poster wasn't sure about native word wrap support, but provides a link to a wrapper that handles word wrapping:

http://www.developerfusion.co.uk/show/4646/

Upvotes: 0

Related Questions