Gitextensions: Word Wrap for Diff and File Tree views

Created on 18 May 2011  ·  8Comments  ·  Source: gitextensions/gitextensions

Currently the only way around long lines of code is to copy/paste it into Notepad++ in order to read everything without needing to do the wrist-twist to see the same code in Git Extensions.

user experience feature request up-for-grabs

Most helpful comment

:+1: Especially for diff window.

All 8 comments

:+1: Especially for diff window.

+1

We would have to do what visual studio does. Show a wrap arrow at the end
of the line that wrapped.

On Mon, Dec 7, 2015, 4:45 AM Michael Naumov [email protected]
wrote:

+1


Reply to this email directly or view it on GitHub
https://github.com/gitextensions/gitextensions/issues/448#issuecomment-162465541
.

+1

What needs to be done to implement this? Is there some built-in way to wrap to the window?

What needs to be done to implement this?

Answering this question is part of implementing it :) If you want to take a look at it and have specific questions, just shout.

That said, we use the ICSharpCode.TextEditor control for rendering code samples. It doesn't support word wrap. So adding word wrap would likely require replacing the control or doing a lot of work on it, neither of which are small undertakings.

Sorry, I missed this reply when you made it.

Is there any reason not to use AvalonEdit instead?

AvalonEdit could not be used in 2.x because it is WPF and not WinForms (required for Mono compatibility).
For the future, something else than WinForms should be used. WPF is a candidate, but something that supports multiplatform would be better. Switch editor is likely not easily done either...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AaronLayton picture AaronLayton  ·  4Comments

otbutz picture otbutz  ·  3Comments

takinosaji picture takinosaji  ·  3Comments

andrey-helldar picture andrey-helldar  ·  4Comments

longjxchina picture longjxchina  ·  4Comments