Followed your suggestion Clark to add say (I added dsay as I like looking at a log file).
From here I deduced the issue is not in insert_file_list(), my macro is passing it something that is already truncated to 2000 characters.
The macro takes in a text file with information about what to add to the project and in Slick-C reads it line by line.
The problem is that when it calls get_line() the resulting line is truncated to 2000 characters while the actual line is much longer than 2000 characters.
Maybe you can offer a suggestion how I can handle this.
The particular get_line() that the macro calls can be seen in github here:
https://github.com/rbresalier/sync_project_with_scm/blob/master/sync_project_with_scm.e#L596The .ini file with the specification of all wildcard files to add to the project is in a .ini file. This ini file is loaded into a buffer in SlickEdit. Then get_line() is executed to read it line by line. But it can only handle 2000 characters on a line.
I need to think about how to modify to handle something like this and your insight would be real useful.
Is there a way for this macro to load the buffer without this 2000 character limitation?