...so finally a automatic carrage return by building Start and End of a Comment
is something I don't want, because in Progress your Comment could look like
this:
/*
*/
or like this
/* text */
or even like this
/*
/* text */
*/
In my old Editor ED4W " */" was added when space after "/*", that was perfect
for me. Maybe you can modify my vbscript for setting a Comment around marked
text... (I just want to help and I maked the same for Uncomment function. These
are Functions which are Standard in Progress-Editor.) 
Dim objEditor
Const MODULE_NAME  = "Comment"
Const MODULE_VER   = "01"
Const DIALOG_TITLE = "Comment"
Sub Init
  addMenuItem DIALOG_TITLE, "", MODULE_NAME, "ALT+7"
End Sub
Sub CommentPA()
  Set objEditor = newEditor()
  With objEditor
    .assignActiveEditor()
    'comment selected text
    if instr(1,.selText(),vbCr) then
      .selText("/*" & vbCr & .selText() & "*/")
    else
      .selText("/* " & .selText() & " */")
    End If
  End With
End Sub:-P

-- 
<http://forum.pspad.com/read.php?2,40205,40254>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem