[request for next version of Code::Blocks]
Please adhere edit/comments to RIGHT edge
Adjust comments to a vertical line position (RIGHT)
Note: The comments that started in the first column, do not Adjust
like hp50g program editor
http://www.debug4x.comhttp://www.debug4x.com/Debug4x_b134.exe example: before comments misalignment
/* Config ports microcontroller
Motorola GP32 */
typedef union {
byte Byte;
struct {
byte PTA0 :1; // Port A Data Bit 0
byte PTA1 :1; // Port A Data Bit 1
byte PTA2 :1; // Port A Data Bit 2
byte PTA3 :1; // Port A Data Bit 3
byte PTA4 :1; // Port A Data Bit 4
byte PTA5 :1; // Port A Data Bit 5
byte PTA6 :1; // Port A Data Bit 6
byte PTA7 :1; // Port A Data Bit 7
} Bits;
} PTASTR;
-----------------------------
Later comments alignment
----------------------------
/* Config ports microcontroller
Motorola GP32 */
typedef union {
byte Byte;
struct {
byte PTA0 :1; // Port A Data Bit 0
byte PTA1 :1; // Port A Data Bit 1
byte PTA2 :1; // Port A Data Bit 2
byte PTA3 :1; // Port A Data Bit 3
byte PTA4 :1; // Port A Data Bit 4
byte PTA5 :1; // Port A Data Bit 5
byte PTA6 :1; // Port A Data Bit 6
byte PTA7 :1; // Port A Data Bit 7
} Bits;
} PTASTR;
Is good idea?
[attachment deleted by admin]