>> if tab is assumed 4 spaces, sometimes, you might type 4 spaces to >> gain alignment. From the editor, you won\'t tell the difference.
The same (I mean, the opposite) holds if you normally use spaces and insert a tab by mistake. So it's not an argument for spaces or tabs. >I suppose vim, and much other editors more advanced than Notepad, are >able to set tab size to whatever value is needed. That\'s why this old >grudge against tabs seems obsolete, unless you use to dump code to a old >printer or something similar. I repeat it for the third time: use tabs in a way that their size doesn't matter. >What do you mean by "both tab/space is used"? It always has been a bad >idea to mix tabs and spaces, like using tabs for indenting to col 8, and >using spaces to finish to col 12... Indeed, this is a worst case scenario. It's in perl, grrr... And "GNU coding style" is even worse. >> Of course, we can always stick to either tab or space only. but there >> will always an exception. > >Why? I see a lot of open source code, I rarely, if ever, saw such mix. >If I should find this mix, either I convert all to one kind, or drop the >project... I'm in a closed source project where you can find tabs in some files, spaces in other and a mix of tabs and spaces in some other. I use tabs in "my" files and fix whitespace at least to be consistent in "shared" files. >> BTW, I miss emacs editor feature to split one same file into two different >> windows that you can view the file in one window and modify the same >> file in another window. can it be done in scite? > >I wrote about the desirability of this feature very recently... > My 3 eurocents: I'd love to have *vertical* split with independent vertical scrollbars (the standard Windows vertical splitter has one vertical scrollbar, which is not useful for text files). I've seen it in gVim, I think. Piotr _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
