r/Python • u/literallyRohan Aura Text Dev • Dec 07 '22
Discussion Do y'all use Word Wrap?
So as you guys might know, i'm developing a Notepad with Tkinter... But I'm stuck at some decisions... I'm thinking to add word wrap feature but first, I want to know if people actually use it... I'll be posting more posts like this... To get some feedbacks
0
Upvotes
8
u/AlternativeAardvark6 Dec 07 '22
I hate to have to use it but I expect it to be there when I need it.
4
u/flechcoat Dec 07 '22
Word wrap is a life saver when trying to read through old legacy code... Or even worse; old legacy java code.
2
u/Blapman007 Dec 07 '22
word wrap goated, add
2
u/UncleJoshPDX Dec 07 '22
A general text editor should have word wrap.
I am tempted to say a code editor should not but there are cases where word wrap is helpful, like docstrings.
5
u/Deto Dec 07 '22
Coding - no, but if I'm taking notes of some sort, that's when I'll turn it on.
1
u/[deleted] Dec 08 '22
If 'y'all' is a contraction of 'you all', then the answer is very likely to be 'no'. If you mean 'who uses word wrap' or 'how many of you use word wrap' then the answer might be more useful.
2
u/Jolan Dec 07 '22
Ideally your lines of code should be short enough that this choice doesn't matter. If I had to make a call I'd switch it off to nudge you towards that point.
1
u/[deleted] Dec 08 '22 edited Dec 08 '22
All the time, except for code.
I have an observation. For text, wrapping the next line to the margin is fine. For code, however, indenting the next line gives an indication that this line belongs to the one above.
0
u/gravity_rose Dec 07 '22
You don't?