View Issue Details

IDProjectCategoryView StatusLast Update
0038538FPCTextmode IDEpublic2021-02-24 10:50
ReporterSeva Alekseyev Assigned To 
Status newResolutionopen 
Product Version3.2.0 
Summary0038538: Source files with overlong long lines
DescriptionFP 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.

TagsNo tags attached.
Fixed in Revision
Attached Files


Bart Broersma

2021-02-23 22:52

reporter   ~0129129

Last edited: 2021-02-24 10:50

View 2 revisions

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

Sven Barth

2021-02-24 09:51

manager   ~0129138

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.

Issue History

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