Neil Hodgson wrote:
  Yes, I do still run astyle (which is being maintained again) over
core parts of Scintilla so that it is formatted OK but other
standardization is applied by hand. Some of the source code, such as
lexers written by other people, is left in its original format as that
is regarded as owned by the author and would take time+effort to
reformat

Yes, I believe it is OK to have a whole source file with another programming style (if consistent within the file) in a project integrating code from other projects or contributors. Of course, contributions to existing code (ie. within an existing source file) must follow the style around.

Do you still have to run a Python script to correct astyle output or it is better here? I searched such script in the source code I have (as I forgot the name of the beautifier) and didn't found it.

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to