Jump to content

Scite Convenience Keys


 Share

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'
Link to comment
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]

Link to comment
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

Link to comment
Share on other sites

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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.

Link to comment
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.

Link to comment
Share on other sites

  • Developers

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

:)

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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.

Link to comment
Share on other sites

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...