brackets-ruler icon indicating copy to clipboard operation
brackets-ruler copied to clipboard

word wrap at guide

Open remkoboschker opened this issue 10 years ago • 6 comments

Hi,

Would it be possible to somehow get the text to wrap at the guide width and still have the editor at full-screen?

remkoboschker avatar Apr 25 '14 06:04 remkoboschker

@remkoboschker, yes I believe this is possible to do now. There is a fairly recently created CodeMirror addon that provides this functionality. Also, it a feature I have been wanting to add for a while. I will start working on it, thanks for the feedback.

lkcampbell avatar Apr 25 '14 22:04 lkcampbell

Great, let me know if I can help out.

remkoboschker avatar Apr 30 '14 12:04 remkoboschker

Update on this. I was in error. The addon that I thought added this functionality adds a hard wrap to the text and we need a soft wrap that can be applied and removed. I am checking with the CodeMirror Dev Group to see if this functionality is possible.

lkcampbell avatar May 13 '14 20:05 lkcampbell

Here's a link to the discussion:

https://groups.google.com/forum/#!topic/codemirror/tBRhAXh55hg

lkcampbell avatar May 14 '14 14:05 lkcampbell

Thank you

remkoboschker avatar May 17 '14 12:05 remkoboschker

@remkoboschker, update, I have this working but it is still a bit buggy. Should be available soon.

lkcampbell avatar May 30 '14 01:05 lkcampbell