Hi guys,
I want to add some project information at the beginning of my .h file.
Of course I set this in the 'Default code' option as follows:
/*****************************************************************************
* This source file is part of OPTIC *
* *
* *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU Lesser General Public License as published by *
* the Free Software Foundation; either version 3 of the License, or (at *
* your option) any later version. *
*****************************************************************************/
BUT
When I create a .h file, it looks as follows, and I do not know how to deal with this problem.
/*****************************************************************************
* This source file is part of OPTIC *
* *
* *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU Lesser General Public License as published by *
* the Free Software Foundation; either version 3 of the License, or (at *
* your option) any later version. *
*****************************************************************************/
Any one could help me with it?
Thanks very much!!!
You have probably used tab characters to generate your code. Try to use spaces only (or convert automatically tab to spaces).
gd_on
Quote from: gd_on on November 07, 2012, 12:30:04 PM
You have probably used tab characters to generate your code.
Wither that, or you use a a
non-monospaced font in the editor (i.e. letters don't have the same width).
And please, please use code-tags for any code.
It's more readable and should avoid the use of proportional (not monospaced) fontsm when shown in the browser.