Sign in to follow this  
Followers 0
lgodfrey

How to Toggle lines from comments and to comments

9 posts in this topic

I'm sorry, but after a year of no scripting for the life of me I can't find this anywhere...

how do you, in scite, use a key input to comment out a line of code and toggle it back from a comment to a code line? (it automatically puts comment character at beginning of line, or removes it)

I am sure I could do this before for debugging purposes, but searches in forum and scite help files came up with zip.

Larry


I'm, Lovin' IT, X

Share this post


Link to post
Share on other sites



I'm sorry, but after a year of no scripting for the life of me I can't find this anywhere...

how do you, in scite, use a key input to comment out a line of code and toggle it back from a comment to a code line? (it automatically puts comment character at beginning of line, or removes it)

I am sure I could do this before for debugging purposes, but searches in forum and scite help files came up with zip.

Larry

ctrl+q

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Minus key on the numpad.


Don't take my pic to serious...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~You Looked, but you did not see!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Share this post


Link to post
Share on other sites

Thanks!

I do not feel so bad now....these are not listed in Scite help file under keyboard commands

I guess they are not listed in general help section 'cause they are specific to AutoIt3.

Can't find them in Scite/AutoIT3 specific files.

I'm off to the races!


I'm, Lovin' IT, X

Share this post


Link to post
Share on other sites

w0w thanks I didnt know this was possible^^


[quote name='DaleHohm']You have a strange habit of posting error messages that don't match your code.[/quote][quote name='SmOke_N']Forget the learning... straight to the scripting :lol: (laugh.gif)[/quote]

Share this post


Link to post
Share on other sites

I do not feel so bad now....these are not listed in Scite help file under keyboard commands

I guess they are not listed in general help section 'cause they are specific to AutoIt3.

The list is incomplete in the helpfile though it does seem that those mentioned in the menu of Scite already are not listed in the helpfile. In the menu under "Edit", you will see "Ctrl+Q" for "Block Comment or UnComment".

:)

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

The list is incomplete in the helpfile though it does seem that those mentioned in the menu of Scite already are not listed in the helpfile. In the menu under "Edit", you will see "Ctrl+Q" for "Block Comment or UnComment".

:)

a-ha, it had to be somewhere! did not look at edit list before :">

edit

but the number pad - key is my favorite, not in the edit list

Edited by lgodfrey

I'm, Lovin' IT, X

Share this post


Link to post
Share on other sites

but the number pad - key is my favorite, not in the edit list

It is also my faveorite, I have found myself useing it alot lately.

[quote name='DaleHohm']You have a strange habit of posting error messages that don't match your code.[/quote][quote name='SmOke_N']Forget the learning... straight to the scripting :lol: (laugh.gif)[/quote]

Share this post


Link to post
Share on other sites

a-ha, it had to be somewhere! did not look at edit list before :">

edit

but the number pad - key is my favorite, not in the edit list

It is a custom addition in the Global Options, that is why you do see no reference to the number pad key.

# User defined key commands
user.shortcuts=\
Ctrl+Shift+V|IDM_PASTEANDDOWN|\
Ctrl+PageUp|IDM_PREVFILE|\
Ctrl+PageDown|IDM_NEXTFILE|\
KeypadPlus|IDM_EXPAND|\
KeypadMinus|IDM_BLOCK_COMMENT|\
Ctrl+F1|IDM_HELP_SCITE|

:)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0