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

astromme

  • Senior Community Member
  • Posts: 154
  • Hero Points: 1
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: 6826
  • Hero Points: 526
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.