Re: Carl White's editor request.
"Bernie Ryan" wrote:
> Carl:
> With the next release of the cs editor
> could you please add an option that allows
> the user to disable replacing TABs with SPACES.
> The editor should be able to edit using TABS or
> expanding them into spaces at the user's option.
A 'next' version of EE:CS is more an 'if' than a 'when' at the moment.
The feature you request wouldn't be too difficult to implement, since
space-to-tab compression is only done on Euphoria files, so other files are
left alone.
If you want to switch to using the source-based editor rather than the bound
.EXE (which I admit is a bit of a pain), you can achieve what you want by
changing:
dump = (edited[fNum][READ_ONLY] >= isBinary)
to:
dump = 1 -- (edited[fNum][READ_ONLY] >= isBinary)
...on line 772 of EE.EX.
This, of course, turns off *all* space-to-tab compression. I suspect that
this is what you were after though. :)
[ ED.EX does exactly the same thing to Euphoria source, and Mr. Cuny
implemented the same thing in the original EE. I have a feeling it was
deliberately crippled though, because I had to 'fix' it. :) ]
Carl
|
Not Categorized, Please Help
|
|