Re: Create a shortcut to insert a text [73901]

2020-07-02 Tema obsahu RANZI
pspad: RANZI: Indeed, I would like to keep reals tabs by default and use spaces for a lot of format like : .h, .c, .cc, .cpp,

Re: Create a shortcut to insert a text [73900]

2020-07-02 Tema obsahu Jan Fiala
RANZI: Indeed, I would like to keep reals tabs by default and use spaces for a lot of format like : .h, .c, .cc, .cpp, .klx(custom extension)

Re: Create a shortcut to insert a text [73895]

2020-07-02 Tema obsahu RANZI
vbr: Hi, I usually use a dummy regex replacement, when a real tab is needed in such setting (convert to spaces...); e.g. write T, select it, call search and replace dialog and replace T with (regular

Re: Create a shortcut to insert a text [73896]

2020-07-02 Tema obsahu Vlastimil Brom
Hi, if the scripting support isn't activated yet, you can check this in the Settings :: System Integration: [x] Integrated scripting support (WSH) (it currently works in 32bit version of PSPad) Possibly after a new start of the program you should get a menu entry Scripts, with the submenus as

Re: Create a shortcut to insert a text [73894]

2020-07-02 Tema obsahu RANZI
pspad: I don't know if I understand well. You have cursor anywhere in text and do you want to insert what? Text under cursor or text from clipboard or any specific text or?

Re: Create a shortcut to insert a text [73898]

2020-07-02 Tema obsahu RANZI
vbr: Hi, the script should be placed in the appropriate subfolder ...PSPad_folder\Script\JScript\insert_tab.js ... hth, vbr

Re: Create a shortcut to insert a text [73899]

2020-07-02 Tema obsahu RANZI
pspad: Hello What is your real tab dependency? If you need real tab e.g. in PHP files and spaces in TXT (or other) files, it is possible to set. If you need to use real TAB and spaces in one file type, then is

Re: Create a shortcut to insert a text [73897]

2020-07-02 Tema obsahu Jan Fiala
Hello What is your real tab dependency? If you need real tab e.g. in PHP files and spaces in TXT (or other) files, it is possible to set. If you need to use real TAB and spaces in one file type, then is necessary to solve e.g. by scripting. --