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 | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | x86 | OS | Windows | ||
Product Version | 3.2.0 | ||||
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 | |||||
FPCOldBugId | |||||
FPCTarget | |||||
Attached Files |
|
|
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. |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-02-23 20:57 | Seva Alekseyev | New Issue | |
2021-02-23 22:52 | Bart Broersma | Note Added: 0129129 | |
2021-02-24 09:51 | Sven Barth | Note Added: 0129138 | |
2021-02-24 10:50 | Bart Broersma | Note Edited: 0129129 | View Revisions |