<http://forum.pspad.com/read.php?f=2&i=11574&t=11574> ----------------------------------------------------------------
jan, thank you for this great editor and for providing it as freeware. I recently looked at PSPad, because it was recommended on the AutoHotkey Forum. Previously I used UltraEdit. I'm impressed by all the features available in PSPad. Since I'm new to PSPad forgive me if I'm asking for features that are already available. I have searched through the posts in this Forum till the end of 2005 to see if my requests have been asked before. Requests: a) Since AutoHotkey uses Labels for Subroutines, Funtions, HotStrings and Hotkeys, it would be great if PSPad would allow RegEx to define Keywords for syntax highlightning. Related posts to this request: http://forum.pspad.com/read.php?f=2&i=11163&t=11163 http://forum.pspad.com/read.php?f=2&i=10759&t=10759 b) Working with LS-DYNA files, I realized that a feature like a) would help in such a case as well. LS-DYNA files use a "*" for keywords and a "$" for comments. Unfortunately I wasn't able to configure the highlighter to highlight the syntax accordingly. The "*" and "$" are always taken as symbols. A second problem with highlight of LS-DYNA files is that to nearly all commands a "_TITLE" or "_ID" can be added. If I want to create a list of all keywords these specialty will tripple the length of the list (each keyword without, with _title and with _ID). Is there a elegant solution? LS-DYNA keywords are always structured like this: *KEYWORD_SUBKEYWORD_OPTION_OPTION_OPTION c1)I saw some posts on column select features http://forum.pspad.com/read.php?f=2&i=11437&t=11437 http://forum.pspad.com/read.php?f=2&i=11351&t=11351 and on aligning spaces/chars in multiple lines via vb script http://forum.pspad.com/read.php?f=2&i=10637&t=10623 which I just found out made it into the latest revision of PSPad (2183) I would like to ask for a new mode when colums are selected. Something like "simultanious input". E.g. if 3 rows are selected with a column selection and the user types the characters are inserted in all three rows simulatiously. The difference to block indent with {Tab} is that that it can be any character and doesn't have to be at the beginning of the line. It is also different to the Align VB script since with the request no delimiter character is needed. The only thing that comes close is the Alt+I feature. But that one isn't very intuitive. c2)Also column select: Currently only a real column of one character can be selected. Is it possible to extend PSPad to allow a selection of columns between characters, e.g. a very thin line like the ruler line (at 80 char). Together with c1) it would allow to insert characters in colums between characters. d) I tried the F9 and Ctrl+F9 features and was able to automize all my scripting needs for AutoHotkey. But I needed several workarounds. To make then redundant I would like to request a StartDir and a Log Parser for the external programs. Currently I have to set the StartDir in all my scripts explicitly to be %Dir% with AHK-Syntax "SetWorkingDir, %A_SCRIPTDIR%". I haven't tested the 2183 revision yet if something has changed in this field. A Log parser for external programs would help me to get faster to the line in question. e) I saw a post on: if there is an option to autosave the current file whenever an external application is invoked. http://forum.pspad.com/read.php?f=2&i=11138&t=11138 As far as I can tell, PSPad saves the not saved code to a new file with a cryptic name and calles the external program with that file. This is causing trouble in my scripts, since I often reference the scripts own name inside the script. Is it possible to add an option to PSPad to autosave the current file whenever an external application is invoked? That would allow me to skip the Ctrl+s Remarks: 1) Working with PSPad I have changed some of the settings in the AutoHotKey.def I will share them with the AHK community and when setteled I hope that Chris will send you an update for you to include into PSPad. 2) I have added several keywords to the LS-DYNA.def file. Would you be interessted to update the one coming with PSPad? Thanks again for this program. [%sig%] -- PSPad freeware editor http://www.pspad.com
