View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0038538||FPC||Textmode IDE||public||2021-02-23 20:57||2021-02-24 10:50|
|Reporter||Seva Alekseyev||Assigned To|
|Summary||0038538: Source files with overlong long lines|
|Description||FP complains about overly long lines in sources. If there's way to override that, it's not obvious. When I try to open a source with such lines, the IDE pops a warning (twice) and tries to change the file.|
If this is a style policing issue, it should be overridable.
In my case, the line was 262 characters long. That's not unreasonable.
|Tags||No tags attached.|
|Fixed in Revision|
It complains if the line is > 256 characters.
It complains twice, the second complain says: "first such line is -1"
fp 1.0.12 (comes with fpc 3.2.0) 32-bit on win10-64
||Free Vision and thus the text mode IDE are based on ShortStrings, so yes, 256 is a reasonable length, cause that's the maximum size of a ShortString. There is currently work underway to convert Free Vision to UnicodeString. Once the IDE is ported over to that this should be a problem of the past as well.|