> > if tab is assumed 4 spaces, sometimes, you might type 4 spaces to > > gain alignment. From the editor, you won't tell the difference. > > > > however, if you swtich to a different editor such as vim, tab is assumed > > 8 spaces. then, alignment will become a problem if both tab/space is used. > > 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
Correct. but sometimes, it takes time to read the doc to find out how to change the tab size. I am lazy to make such a change for all computers. > grudge against tabs seems obsolete, unless you use to dump code to a old > printer or something similar. > > 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 correct. but sometimes, it happens. > using spaces to finish to col 12... Indeed, this is a worst case scenario. > > > 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. Some code may come from co-worker or somewhere that you have no control and have to use. Peter > If I should find this mix, either I convert all to one kind, or drop the > project... > > > 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... > > -- > Philippe Lhoste > -- (near) Paris -- France > -- http://Phi.Lho.free.fr > -- -- -- -- -- -- -- -- -- -- -- -- -- -- > _______________________________________________ > Scite-interest mailing list > [email protected] > http://mailman.lyra.org/mailman/listinfo/scite-interest > _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
