Jump to content
Sign in to follow this  
ycomp

Scite Convenience Keys

Recommended Posts

Hi,

I was wondering if any such keys exist, if so please let me know... or if not key, some other method of doing it:

  • go to the function that is highlighted/or caret is on
  • open the file (e.g. include file) that is highlighted/or caret is on
  • comment all highlighted text (e.g. with #cs/#ce or just lots of ':D'

Share this post


Link to post
Share on other sites

  • comment all highlighted text (e.g. with #cs/#ce or just lots of ':D'
Ctrl+Q

- MoChr(77)& Chr(97)& Chr(100)& Chr(101)& Chr(32)& Chr(121)& Chr(97)& Chr(32)& Chr(108)& Chr(111)& Chr(111)& Chr(107)-------I've told you 100,000 times not to exaggerate!-------Don't make me hit you with my cigarette hand...-------My scripts:Random Episode Selector, Keyboard MouseMover, CopyPath v2.1, SmartRename for XP,Window Tracer[sup]New![/sup]

Share this post


Link to post
Share on other sites

Hi,

I was wondering if any such keys exist, if so please let me know... or if not key, some other method of doing it:

  • go to the function that is highlighted/or caret is on --> CTRL+J
  • open the file (e.g. include file) that is highlighted/or caret is on --> ALT+I or beta ALT+SHIFT+I
  • comment all highlighted text (e.g. with #cs/#ce or just lots of ':D' --> CTRL+Q

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

Hi,

I was wondering if any such keys exist, if so please let me know... or if not key, some other method of doing it:

  • go to the function that is highlighted/or caret is on
  • open the file (e.g. include file) that is highlighted/or caret is on
  • comment all highlighted text (e.g. with #cs/#ce or just lots of ':D'

When you have the full version of SciTE4AutoIt3 loaded, then all of these are available:

1. Ctrl+J (opens the Production include file when an standard UDF is used) add a SHIFT to open BETA

2. Ctrl+I (opens the Production include file ) add a SHIFT to open BETA

3. Ctrl+Q

Share this post


Link to post
Share on other sites

I guess there is no way to prevent 'letters leaking into the text editor' when I press ALT-L and then type the first letter of what I'm looking for?

Share this post


Link to post
Share on other sites

also, I like this CTRL+T to flip the rows... but I also like Tidy... is there another key I can use to access "flipping the rows" when I am in an .au3 script? (in .au3 if I press CTRL+T it will Tidy)

Share this post


Link to post
Share on other sites

You could add the following line to SciTEUser.properties which will preserve Ctrl+T and make Tidy run on Ctrl+Alt+T:

command.shortcut.9.$(au3)=Ctrl+Alt+T

Share this post


Link to post
Share on other sites

hi, how can I change the configuration for ini files so that CTRL+Q uses ';' as a comment, not '#'?

Also, does autoit recognize '#' as a comment in reading ini files?

Share this post


Link to post
Share on other sites

You should find that in others.properties file, an attribute called comment.block.props. For me it is set to #~. The only potential issue is that all the files mentioned in file.patterns.props will use the same comment characters. For me that is *.properties;*.ini;*.inf;*.reg;*.url;*.cfg;*.cnf;*.aut. So if you change the comment character for comment.block.props it will change for all those extensions.

This might not be an issue for you at all, but I just thought I would mention it.

Share this post


Link to post
Share on other sites

cool, got it to work

good to know about that, probably woulda noticed all those other extensions when I edited the file.

about numpad, I noticed something hijacked my minus key before... but I wasn't paying attention (in the middle of something else). Anyhow this keyboard ain't that ergonomic, so my hand doesn't really get over to the '-' so easily... so no big loss.

Share this post


Link to post
Share on other sites

anyone know if there is a "go to line #" key?

also, what about a complete list of keys? I found something in the Scite Help but it was very basic and incomplete.

Share this post


Link to post
Share on other sites

anyone know if there is a "go to line #" key?

also, what about a complete list of keys? I found something in the Scite Help but it was very basic and incomplete.

When I click "Search/Goto .." it tells me Ctrl+G

:)

Share this post


Link to post
Share on other sites

Not to hijack a post but, how do you get Scite to open in two windows and not tabbed (for dual monitors)

I want to know this too.. or if it is possible to split a window.. or to tile windows like MDI.

Share this post


Link to post
Share on other sites

I want to know this too.. or if it is possible to split a window.. or to tile windows like MDI.

Its in the Helpfile:

check.if.already.open This option allows opening files in an existing instance of SciTE rather than always opening a new instance. When this option is set and SciTE is started, it checks to see if there are any other instances of SciTE open. If there is, another instance is asked to open the file and become active and the new instance exits. On Windows, the instance with the Options | Open Files Here menu item checked opens the file. On GTK+, an arbitrary instance opens the file.

So just add this line to your SciTEUser.properties:

check.if.already.open=0

There is no Tile/MDI possible.

Jos

Edited by Jos

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  

×
×
  • Create New...