4 ms·
Then your editor renders the 8 space code as 4 spaces without missing a beat. Why wouldn't it? Detecting the indentation level used is trivial. (Provided, of
by munch117 4y ago
Then your editor renders the 8 space code as 4 spaces without missing a beat. Why wouldn't it? Detecting the indentation level used is trivial. (Provided, of course, that the author had the foresight to use spaces, not tabs.)
- undersuit 4y ago>Detecting the indentation level used is trivial. I agree that parsing a known correct file is trivial. Wouldn't a trivial thing be solved by now?
- munch117 4y agoWhenever I open a C file in Emacs, the indentation level is autodetected. I'll admit that may not have been trivial to implement, but it certainly has been done.