[D3D8 PATCH] d3d8 shaders update - VS2
David Laight
david at l8s.co.uk
Thu Dec 19 04:29:48 CST 2002
> >Actually it could be considered as an editor fault if it changes color for
> >commented out code but doesn't recognize the #if 0/#endif construct.
I'd tend to agree...
OTOH I don't like colour :-)
> I wouldn't say so. A comment is easily recognized by the chars /* */ or //.
No it isn't! You still have to know the language in order to
get quoting right. Try editing an m4 source file!
> But to get a #if 0 or #if _ANYTHING you really need a language dependant
> preprocessor which goes beyond a normal text editor, even one with
> syntax coloring.
The only difficulty is knowing which half of the #if ... #else ... #endif
to parse. Parsing both is wrong and will lead to miscoloration.
> Do you have such a text editor that finds #if's?
No, and I would use it if I did :-)
David
--
David Laight: david at l8s.co.uk
More information about the wine-devel
mailing list