Skip to main content

Hi,

in the ProcScript Editor there isn't a TOOLBAR, like in the "Trigger Editor fo Menus", so useful functions like:

  • Format the ProcScript, adding indentation for readability.
  • Convert the selected ProcScript to comments
  • Convert the selected comments to ProcScript code

cannot be applied.

Is there a simple way to do the same?

Thanks.

Paolo Lovati

Hi,

in the ProcScript Editor there isn't a TOOLBAR, like in the "Trigger Editor fo Menus", so useful functions like:

  • Format the ProcScript, adding indentation for readability.
  • Convert the selected ProcScript to comments
  • Convert the selected comments to ProcScript code

cannot be applied.

Is there a simple way to do the same?

Thanks.

Paolo Lovati

Hi Paolo,

There is a way to select several lines in the ProcScript editor. If you hold the Alt-key and then use the mouse to select several lines then you'll enable the column mode of the editor. If you do this at the beginning of a line then you can add a semicolon character (";") to comment out the lines or delete the ";" to uncomment the lines.

The whole column mode functionality is still a bit clumsy and will not work in every situation, but for (un)commenting out lines it should be sufficient enough.

A Format ProcScript functionality is currently not implemented (yet). Sorry.

On the (under Developer productivity) "code editor functionality and productivity enhancements" are mentioned and the points you are mentioning here certainly fit into category.

I hope this helps.

Kind regards,
Daniel Iseli


Hi,

in the ProcScript Editor there isn't a TOOLBAR, like in the "Trigger Editor fo Menus", so useful functions like:

  • Format the ProcScript, adding indentation for readability.
  • Convert the selected ProcScript to comments
  • Convert the selected comments to ProcScript code

cannot be applied.

Is there a simple way to do the same?

Thanks.

Paolo Lovati

Hi Daniel,

Thank you for your answer.

I tried to enable the column mode of the editor using the Alt-key and the mouse but it didn't work.

The column mode is activated if you use the Shift-key+Alt-key and the mouse to select more lines but inserting the comment char ";" at the beginning of the lines causes some characters of the selected lines to be deleted (it seems to work only if in "overstrike" and the first char is a blank).

Maybe I'm not doing the right thing...

However, let's wait for some code editor enhancements.

Kind regards,

Paolo Lovati