Menu

CommentLine always at pos1

2007-02-23
2012-11-13
  • Nobody/Anonymous

    Hi,

    how can I put the comment line sign always at the start of every line?

    Thanks for any help.

     
    • Nobody/Anonymous

      Web does reformat my writing :-(
      I add a _ at the bein, just think it is not there:
      I have this:
      _extern void Filter1x1(unsigned char *Bits, 
      _     const int RowBytes, const int PixDepth, 
      _     const int Width, const int Height,
      _     tFilter1x1 *Filter);

      When I comment out by line I get this:
      _// extern void Filter1x1(unsigned char *Bits, 
      _     // const int RowBytes, const int PixDepth, 
      _     // const int Width, const int Height,
      _     // tFilter1x1 *Filter);

      But i want this:
      _// extern void Filter1x1(unsigned char *Bits, 
      _//      const int RowBytes, const int PixDepth, 
      _//      const int Width, const int Height,
      _//      tFilter1x1 *Filter);

       
    • Nobody/Anonymous

      Ok again more specific.

      When I use language C and mark 10 lines and make them comments, the // will not be at pos1 when line starts with spaces. Can I change this?
      Example:
      I have this:
      extern void Filter1x1(unsigned char *Bits,
                      const int RowBytes, const int PixDepth,
                      const int Width, const int Height,
                      tFilter1x1 *Filter);

      When I comment out by line I get this:
      // extern void Filter1x1(unsigned char *Bits,
                      // const int RowBytes, const int PixDepth,
                      // const int Width, const int Height,
                      // tFilter1x1 *Filter);

      But i want this:
      // extern void Filter1x1(unsigned char *Bits,
      //                const int RowBytes, const int PixDepth,
      //                const int Width, const int Height,
      //                tFilter1x1 *Filter);