Uniface User Forum

 View Only
  • 1.  SHORTCUT

    Posted 06-23-2022 12:30
    Hello, is there a shortcut to comment several lines at once? and is there a
    shortcut to duplicate a line of code?

    Cordially,

    LERICHE Michael.


  • 2.  RE: SHORTCUT

    ROCKETEER
    Posted 06-28-2022 02:55
    Adding a block comments functionality to the Code Editor is planned for next year. For details see Uniface Roadmap May 2022.pdf that can be found on the page with the Uniface Roadmap.

    I hope this helps.

    ------------------------------
    Daniel Iseli
    Principal Technical Support Engineer
    Uniface Services
    Rocket Software, Switzerland
    ------------------------------



  • 3.  RE: SHORTCUT

    Posted 06-29-2022 08:25
    Hi Michael,

    Large blocks / chunks of code - the lazy mans approach to commenting out chuncks of code:
    if (2=1)
    <x lines of code later>
    endif

    For the latter question:
    <home><shift end><ctrl+c><ctrl+v>
    I have seen some editors do it in 1 keystroke <ctrl+<something>>
    If you really want to play with this - get into the keyboard translation table
    and simply add the "one keystroke" you want and map it to the sequence I
    outlined above....

    Regards,
    Knut

    ------------------------------
    Knut Dybendahl
    ------------------------------