[Geany-Users] Enable line wrapping based on file type?
omegacoleman at gmail.com
Wed Jan 30 11:16:00 UTC 2013
于 2013年01月30日 19:02, Lex Trotman 写道:
>> Try to wrap by hand, "visual line wrap" causes problems in some way
> To make sure we are talking about the same thing.
> Geany does not use the term "visual" line wrapping, just line
> wrapping. To be clear this simply *displays* long lines wrapped, it
> does not touch the file. It is not possible to "wrap" by hand. Line
> breaking adds "end of line" to the file and is not a good idea for
> programming language code, but is great for text documentation. Line
> breaking you can do manually.
> I am presuming the OP meant line wrapping which should not cause any
> problems. If it does please raise a bug report.
>> Users mailing list
>> Users at lists.geany.org
> Users mailing list
> Users at lists.geany.org
Oh I means, I used to simply avoid long lines in files by adding "\" and
start a new line. I don't know if LUA can do this -- most of languages
can! Displaying wrapped lines may cause problems, but there aren't any
bugs. When I write Python I once had a line with 80 chars, and I cannot
find out there is a line breaking or a wrapping at the end of it. And
the error report seemed to be very strange.
More information about the Users