C++ comment alignment

[email protected]
Newsgroups gmane.comp.gnu.indent.bugs
Message-ID <OFEA76D90E.707246D0-ONC12571E6.00366319-C12571E6.003AFC76@decrc.abb.de>
Dear Sir/Madame,

        we have observed that indent does unfortunately reformat comments 
in the following way (some sample code with C++ comments):

(1)
    ptr = ptrValue;     // Pointer for sensor-description class
    range = me->ptrDescription;       // Descriptor

however, it would be much better if the above comments would be kept 
alligned, like:

(2)
    ptr = ptrValue;                     // Pointer for sensor-description 
class
    range = me->ptrDescription;     // Descriptor

I could not find any option to make that work, I appreciate very much your 
comments on how to align C++ comments as in (2) shown!

Bests Lukas


Lukas Kurmann

ABB Forschungszentrum
ZRD / A4
Wallstadter Strasse 59
DE  68526   Ladenburg

Phone: +49 6203 716012
Fax: +49 6203 716412
email: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.