1. RE: Carl White's editor request.
- Posted by Bernie Ryan <xotron at localnet.com> Jan 02, 2002
- 369 views
Carl R. White wrote: > dump = 1 -- (edited[fNum][READ_ONLY] >= isBinary) > Carl: Thanks but that doesn't help. Maybe I did explain my self properly. What I want to be able to do is set the tab option for 4 which embedded a '\t' in the text and move the displayed text over the number of spaces that is set in the tab option. Whenever a file is loaded or written out I do not want the editor to convert the '\t' to spaces. The problem is if you load a file into the editor that was created by another editor and make one change to the file, the file is striped of '\t' which are replaced by spaces. Typing a TAB KEY will not allow you to embedded a '\t' in a file. Bernie
2. RE: Carl White's editor request.
- Posted by Bernie Ryan <xotron at localnet.com> Jan 02, 2002
- 380 views
Carl R. White wrote: > > I'll be honest and say I don't know (and can't test from here) what > happens > when an ordinary file with embedded tabs is loaded in. Is this what > you're > having problems with? > > > Typing a TAB KEY will not allow you to embedded a '\t' in a file. > > Not in EE, no. Why would anyone want to embed a tab in a text-file > anyway? Carl: As far as I know most programming editors load a file and display it with what ever tab options are set in for that editor, but do not expand the tabs unless that option is set. If you are editing a makefile for DJGPP and the '\t' are changed into spaces the makefile will not run just report errors. Another case where you may not want tabs expanded is if you are edit a file which contains shrouded code and plain text, the shrouded code may contain something that is the looks like a '\t' and this will destroy the shouded code by adding spaces. Thanks I just can use wordpad but I just like using your editor. Bernie