SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Cyrillic comment cause commenting all lines of script

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
Cyrillic comment cause commenting all lines of script
Author Message
Nevg



Joined: 26 Dec 2014
Posts: 6
Country: Russian Federation

Post Cyrillic comment cause commenting all lines of script Reply with quote
Some times when I try to add cyrillic comment starting with double minus "--", all text at query window comments with "--".
Sequence is following:
1. I type "--"
2. change language via "Ctrl-Shift"
3. type first letter
4. and something automatically runs thru the script and comments each line via "--"
Ctrl-Z undo only one line of comment, and it is unusable to uncomment script via Ctrl-Z, I should use selection with Alt key.
Tue Jan 20, 2015 8:29 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6509

Post Reply with quote
Which editor do you use and the type of database you work with?

There 2 commenting shortcuts in SQL Assistant, Ctrl / and Ctrl - which are used for block commenting with /* */ or with -- comments. The block commenting is applied to the selection or the entire text if nothing is selected. Please be sure when you type --, you don't hold down the Ctrl key or it will comment the entire text with line comments --
Tue Jan 20, 2015 10:31 am View user's profile Send private message
Nevg



Joined: 26 Dec 2014
Posts: 6
Country: Russian Federation

Post Reply with quote
I use Management Studio 2012. I'll try to turn off Ctrl-"-" shortcut, if it will not help i'll ask you again. Thank.
Tue Jan 20, 2015 11:17 am View user's profile Send private message
Nevg



Joined: 26 Dec 2014
Posts: 6
Country: Russian Federation

Post Reply with quote
Can you help me, i cannot find where i can turn off this shortcut?
Tue Jan 20, 2015 11:22 am View user's profile Send private message
Nevg



Joined: 26 Dec 2014
Posts: 6
Country: Russian Federation

Post Reply with quote
i have found it, Option-Targets-HotKeys property
Tue Jan 20, 2015 11:24 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.