Possible problem with super-long INI values.
Posted: 22 Mar 2016 20:03
Ran into this using GetSectionList on my <xyini> to retrieve the LookIn section.
I discovered that a few of my entries here are extremely long - biggest is 241,877 characters, next is 163,280.
I believe they came from performing Search in List on a set of search results - perhaps repeated once or twice.
These entries show up just fine in the Find Files > Location MRU drop-down and the reading/saving of them to the INI file is apparently working.
However there are a couple of side-affects:
I discovered that a few of my entries here are extremely long - biggest is 241,877 characters, next is 163,280.
I believe they came from performing Search in List on a set of search results - perhaps repeated once or twice.
These entries show up just fine in the Find Files > Location MRU drop-down and the reading/saving of them to the INI file is apparently working.
However there are a couple of side-affects:
- List Management > Find Files: Location has empty lines for these long entries in normal mode.
- In Editor Mode the entries are shown in their entirety (I think), but they are wrapped after 1024 characters making the display really ugly and the editing difficult.
- Similarly, showing text like this in the SC Text dialog suffers the same wrapping when wrapping is disabled.
- SC GetSectionList cannot return the full section ending just after these lines.