Posted by: pspad | Date: 2020-05-20 16:40 | IP: IP Logged
This archive contains modified files only. The correct way how to get full functionality:
1. Download and install latest full version first!
2. Replace existing files with content of archive
Changes to 5.0.4 (400)
Internal HTML preview - obsolete Mozilla, based on unsupported Mozilla activeX control was replaced for Chromium based Edge. To test it is necessary to install chromium based Edge Canary build. It can coexists with existing Windows 10 edge without problems.
Editor window - highlight all occurences of selected text. You can switch it off in the Program settings / Editor 2
Search/replace - fix when replace string contains \n (new line)
Scripting - if script runs when PSPad closes, message with script error appeared
Fixed prolems with TXT files and save As dialog filter
Posted by: Professor Bernd | Date: 2020-05-21 17:41 | IP: IP Logged
cripting - if script runs when PSPad closes, message with script error appeared
Hello. Unfortunately the error message is still there. Here is an example code that is more realistic. (No loop in "Init".)
const module_name = "TestLoop" 'this name must be unique !!!
const module_ver = "0.001" 'version
MyDateTime = Now()
Call logSetLine(0, MyDateTime)
' do something else
' name "Init" is required, its called automatically during initialization to create menu items
Call logAddLine("Press Ctrl+U to start the loop")
addMenuItem "Test-Funktion", "TestMenu", "MyTestLoop", "Ctrl+U"
Suggestion: If the error message cannot be avoided, you could use "Application.MessageBox". With this MessageBox I can read the error message (the message text) and handle the problem myself. (With the other MsgBoxes I cannot read out the Message Text (e.g. ShowMessage and MessageDlg).
Example: Application.MessageBox('Welcome.', 'Test', MB_OK);
Posted by: Professor Bernd | Date: 2020-05-23 12:37 | IP: IP Logged
It seems that highlighting matching brackets does not work. Can you confirm that?
Edited 1 time(s). Last edit at 2020-05-23 12:38 by Professor Bernd.
Posted by: pspad | Date: 2020-05-23 12:52 | IP: IP Logged
Professor Bernd:It seems that highlighting matching brackets does not work. Can you confirm that?
I know it. It's fixed already. This bug was joined with highlighting occurences.