Minor problem in syntax highlighting + enchancement suggestion

ToRo

Member
Hello,
My PL/SQL Developer version is 6.0.5.926.

To see the problem try to cut and paste the following code:

/*
SELECT T.COMMAND_TYPE, T.HASH_VALUE, T.PIECE, T.SQL_TEXT
FROM V$SQLTEXT T
WHERE T.sql_text LIKE 'select /*+rule*/%'
ORDER BY T.HASH_VALUE, PIECE
*/
select * from dual;

Do You need more info?

If I comment the code by "--" higlihgting is ok, so don't you think the option "comment selected block" by -- signs would be very usefull in SQL Window context menu?

Best regards, and keep good work,
ToRo
 
To see the problem try to cut and paste the following code:
That is indeed not right. We'll fix it.
If I comment the code by "--" higlihgting is ok, so don't you think the option "comment selected block" by -- signs would be very usefull in SQL Window context menu?
The Edit > Selection > Comment function will convert the /* and */ comments in the selection to prevent nested comments. The Uncomment function reverts this.
 
The Edit > Selection > Comment function will convert the /* and */ comments in the selection to prevent nested comments. The Uncomment function reverts this.
Wouldn't that mess up his query? Though I suppose if he'd commented it out, it wouldn't matter.
 
Originally posted by Marco Kalter:
The Edit > Selection > Comment function will convert the /* and */ comments in the selection to prevent nested comments. The Uncomment function reverts this.
Marco, Stew:
I was looking for it, but not found because I'm mainly using options from context menu and it wasn't there. Maybe it is worth to add edit -> selection submenu to the context menu?
 
Back
Top