How to change the default folding keys of SciteAutoHotkey?

The popular SciTE-based AutoHotkey Script Editor
c7aesa7r
Posts: 209
Joined: 02 Jun 2016, 21:09

How to change the default folding keys of SciteAutoHotkey?

15 Apr 2021, 03:33

I mean this:
image.png
image.png (4.76 KiB) Viewed 2332 times
You use ;{ ;} to fold a region of the code, i would like to ask if is possible to change this key {} to another. :think:
mrmech
Posts: 81
Joined: 07 Dec 2015, 17:37

Re: How to change the default folding keys of SciteAutoHotkey?

07 Nov 2022, 07:27

I came here to ask the same thing.

I see block.start and block.end in the ahk.properties file:

# Indentation settings (AutoHotkey v2)
statement.indent.$(file.patterns.ahk2)=6 catch else finally for if loop try while
statement.lookback.$(file.patterns.ahk2)=2
block.start.$(file.patterns.ahk2)=10 {
block.end.$(file.patterns.ahk2)=10 }


But I played around with it and I couldn't change it. The problem I'm running into is I have a trigger that makes a folding block so it uses this:

send {{}

The last bracket breaks up the larger folding block it's nested in.

Return to “SciTE4AutoHotkey”

Who is online

Users browsing this forum: No registered users and 16 guests