pinkfoyd Posted August 2, 2011 Posted August 2, 2011 Hi all, I had search in the config file of scite but i can't find where we can modify the '-' function key IE, in scite when we press '-' (minus key) scite will put ';~ ' before the line to comment it, and shift+'-' write the - symbol I want to inverse this. Thanks you !
sleepydvdr Posted August 2, 2011 Posted August 2, 2011 Run this script and it will modify your Scite configuration to work the way you want: #include <file.au3> $configFile = @ProgramFilesDir & "\AutoIt3\SciTE\SciTEGlobal.properties" If FileExists($configFile) Then $lines = _FileCountLines($configFile) For $i = 1 To $lines Step 1 $lineRead = FileReadLine($configFile, $i) If $lineRead = "KeypadMinus|IDM_BLOCK_COMMENT|\" Then _FileWriteToLine($configFile, $i, "Shift+KeypadMinus|IDM_BLOCK_COMMENT|\", 1) ExitLoop EndIf Next MsgBox(0, "", "You have just customized Scite") Else MsgBox(0, "", "Scite config file not found") EndIf #include <ByteMe.au3>
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now