Open shelby3 opened 6 years ago
Hi, thanks for the suggestion. Implementing this would require patches to the 3rd-party editing component that Komodo Edit uses.
Well my desire is to impact as many editors as possible. Would you like to mention the component project by name in case I or someone else decides to tackle it before y’all get around to it?[Edit: ah I see you added the component name to the issue. Thanks.]
Per #541 Komodo Edit already has the feature to wrap the display of text at the right window border. This doesn’t actually modify the file just the display.
However, if I have my window maximized on a wide screen monitor so I can see the code unwrapped up to 200+ columns, the English text comments don’t read very well with that wrapping because humans lose track of where the next line begins when they have to scan so far from left-to-right when reading text. However this may not be the case with code, because code may have only every other or every few lines that actually extend out beyond say 80 columns. (Tangentially I am designing a programming language that will put the type declarations off the right-hand side for code)
Thus it would helpful if there was an optional feature to wrap only the comment lines at a set column when that column is to the left of the current right window border.
Some programmers manually wrap their comment lines, but I have found that for documentation at the start of a file and above each function definition, that I often need to write paragraphs, and I prefer to not manually wrap them, so that the reader can adjust the wrapping. Yet if I don’t manually wrap them, then when the right window boundary is at 200+ columns on my wide screen, then I can’t read the comments well.
Here is an example file:
Note in your prior bug tracking system several years ago I had made numerous bug reports and suggestions which AFAIR were all deemed worthy of fixing or improving.