Menu

Line wrapping

Jens Lenge
2007-11-21
2013-05-23
  • Jens Lenge

    Jens Lenge - 2007-11-21

    Hello world,

    is there any way to have JCF wrap long lines so that they are "blockwise" aligned like this:

    procedure foo(par1, par2, par3, par4,
                  par5, par6: integer;
                  var par7: real);

    ...

      MyCalcResult := (sin(x * y) + cos(a + b)
                      * (previous - current)
                      + remaining;

    Which settings are required to achieve such a layout?

    Jens

     
    • Jens Lenge

      Jens Lenge - 2007-11-21

      Grmpf... my layout got lost in the final post.

      What I meant was to have "var par7" and "par5" starting directly below "par1" in the same column in the first example, and "* (previous..." and "+ remaining" alingned with "(sin..." in the second example.

       
    • Jens Lenge

      Jens Lenge - 2007-11-22

      An illustration using dots instead of indentation spaces:

      procedure foo(par1, par2, par3, par4,
      ..............par5, par6: integer;
      ..............var par7: real);

      MyCalcResult := (sin(x * y) + cos(a + b)
      ................* (previous - current)
      ................+ remaining;

      Is such a line wrapping possible with JCF?

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.