10-14-2022, 06:09 AM
(10-14-2022, 04:14 AM)DSMan195276 Wrote: I don't think what you're seeing is new, I'm pretty sure the auto-indent has always worked that way and stops indenting if it finds an invalid line regardless of how it gets there (pasted or just typed in).One thing that I've noticed is that once "OPTION _EXPLICIT" is put at the top of the code, the IDE refuses to format a line which has a variable it complained about. Then once the user starts typing "DIM a AS..." or alike, the line that contains a "a=10" or alike adjusts itself. This is mind-boggling to me which is why I avoid the IDE most of the time.
I mean, the QuickBASIC editor was kewl in how it formatted source code, perhaps it was ahead of its time although it didn't even have syntax highlighting. I felt bad with my copy of Turbo Pascal v6 considered worthless by the kids in college because the next version of it had the Turbo Vision IDE with colored keywords and that other junk. Oh well would have to deal with it sometimes in "Kate", "Pluma" and other such programs: boldfaced keywords which mess up the "monospaced" alignment, cannot change from red to another color easily with any derrivative of "GEdit", program could be arbitrary about highlighting matched brackets, bright red for operators and/or numerals, dull grey or green for comments so they're difficult to read in dark mode etc.