Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
Lime
Jul 20, 2004

vs code used to choke on files with really long lines with word wrap off, like it would slow down to the point of being unusable

they fixed this by just truncating lines to 10000 characters. bizarrely you can move the cursor past that point and even edit/delete text in this void you can't see! especially cool is how if you naively hit the end key on a too-long line, your cursor just disappears to the void and the window doesn't scroll at all, not even to the truncation point, and you don't know what the gently caress

Adbot
ADBOT LOVES YOU

Lime
Jul 20, 2004

Sagebrush posted:

If you write a line of code with 10,000 characters in it I'm taking away your computer

sometimes when using the computer you may open a file authored, astonishingly, not by a flesh and blood human but in fact the very computer itself!

Lime
Jul 20, 2004

The Management posted:

if you are generating code with 10,000 characters per line, your output program is broken. code is human editable text. perhaps you meant to generate structured data?

issue closed: WONTFIX

hmm i thought this was a deficiency in the program but you are right, by opening a text file which was not code in an editor plainly called vs code i have brought this on myself

Lime
Jul 20, 2004

Fiedler posted:

the correct editor behavior when encountering a line containing >10,000 characters is to display "get the gently caress outta here with your stupid edge case."

and yet virtually every other editor handles this case without issue, even notepad.exe which chooses simply to

Space Whale posted:

just loving wrap

Lime
Jul 20, 2004

i should think not, as that would leave me only 9910 characters to work with, the merest pittance

  • Locked thread