Author Topic: Very long line wraps.. sort of  (Read 655 times)

astromme

  • Community Member
  • Posts: 89
  • Hero Points: 0
Very long line wraps.. sort of
« on: November 14, 2016, 08:01:48 pm »
I have a line of code that's about 6000 characters long.. it's a string storing some escape quoted JSON.  I have soft wrapping turned off.  When I open the file that has it, it appears to have inserted newlines after various spaces in the string, sometimes thousands of characters into the string.  Looking at line counts and view-specialchars-toggle there are no line feed characters, it just happens to take up several lines in my buffer.
 

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4736
  • Hero Points: 382
Re: Very long line wraps.. sort of
« Reply #1 on: November 14, 2016, 08:19:02 pm »
When SlickEdit is worried that performance maybe get bad, it will take long lines and split them into multiple lines without line breaks. The default is 4000 bytes. (Tools>Options>File Options>Load>Wrap line length). If you make this a lot larger AND have a many long lines on the screen, performance will be bad.