You are here: PSPad forum > Developer forum - new builds > PSPad unicode 5.0.7 (659) English

PSPad unicode 5.0.7 (659) English

Goto Page: 1 2 3 Next

#1 PSPad unicode 5.0.7 (659) English

Posted by: pspad | Date: 2021-06-25 21:35 | IP: IP Logged

Download links:
www.fosshub.com
pspad.poradna.net
PSPad 64 bit version doesn't contains scripting yet.
pspad.poradna.net

SHA1 hash:
06c394a711105fd929e8f4df73008881f46986cc pspad507b659.zip
ad1ef8e7219290dce27b188734d29aaebafad12e pspad507b659x64.zip

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.7 (655)

News:
Active file tab highlight when Tab style is selected
Statusbar icons are high DPI ready and light/dark theme ready
TextDiff drop panel was moved from top right to the top left corner
In Filetab context menu you can open file in new PSPad instance as admin

Fixes:
Copy to clipboard always added HTML format
SmartTabs
Active tab after open file from "outside" of PSPad
Select word with dblclick broke on accented chars
Handled exception when decoding invalid string from BASE64
Filetabs visibility after open project or open session
Drag/Drop text with mouse in column or line mode selection
Other fixes reported by users

Known issues:
UNDO with real tabs after autoindent

Options: Reply | Quote | Up ^


#2 Re: PSPad unicode 5.0.7 (659) English

Posted by: Ravelli | Date: 2021-06-27 14:14 | IP: IP Logged

Hi Jan,

many thanks for the updated development version. I'm just looking through my previous bug reports. This one which is not fixed yet:

Quote:
b) Well, this is a minor issue I noticed in a previous version, but it still exists: Word-wrapping makes nonsense under certain circumstances: Video, Screenshot, Description

Maybe I should add... if you follow the video or description, you will find PSPad showing 2 commas, although you typed in 1 only.

Happy Sunday
Ravelli

Options: Reply | Quote | Up ^


#3 Re: PSPad unicode 5.0.7 (659) English

Posted by: pspad | Date: 2021-06-28 05:23 | IP: IP Logged

Thank you for report. It's visual bug only, there are no 2 commas in the file.
I will try to find a reason.

Options: Reply | Quote | Up ^


#4 Re: PSPad unicode 5.0.7 (659) English

Posted by: MadCompie | Date: 2021-06-28 06:34 | IP: IP Logged

Hello,
For the scripting, "selText" method speed problem, here a function to simulate the issue:

Sub TrimTrailingSpaces
If (editorsCount = 0) Then
Exit Sub
End If
Set editor = newEditor()
editor.assignActiveEditor
myCaretX = editor.caretX()
myCaretY = editor.caretY()
x1 = editor.blockBeginX()
y1 = editor.blockBeginY()
x2 = editor.blockEndX()
y2 = editor.blockEndY()
x1 = 1 'steeds vanaf pos.1
bBlockBegin = editor.setBlockBegin (x1, y1)
bBlockEnd = editor.setBlockEnd (x2, y2)
If (x2 > 1) Then
text = editor.Text()
EOL = ""
If InStr(text, Chr(13)) Then
EOL = EOL & Chr(13)
End If
If InStr(text, Chr(10)) Then
EOL = EOL & Chr(10)
End If
lines = Split(text, EOL)
x2 = Len(lines(y2 - 1)) + 1
bBlockEnd = editor.setBlockEnd (x2, y2)
End If
text = editor.selText()
EOL = ""
If InStr(text, Chr(13)) Then
EOL = EOL & Chr(13)
End If
If InStr(text, Chr(10)) Then
EOL = EOL & Chr(10)
End If
lines = Split(text, EOL)
i = -1
For Each line in lines
i = i + 1
lines(i) = RTrim(line)
Next
text = Join(lines, EOL)
editor.selText (text) 'this causes the delay
editor.caretX myCaretX
editor.caretY myCaretY
End Sub

This script simply takes each line and strips the trailing spaces.
To simulate, select some 2000 lines in a text file and apply the script. It will take some half a minute...

Options: Reply | Quote | Up ^


#5 Re: PSPad unicode 5.0.7 (659) English

Posted by: pspad | Date: 2021-06-28 07:21 | IP: IP Logged

MadCompie:
This script simply takes each line and strips the trailing spaces.
To simulate, select some 2000 lines in a text file and apply the script. It will take some half a minute...

Testing with 75kB Java script code. It was executed immediately. I added echo before and after the last seltext and there was no delay.
Maybe something in settings.
How long are lines in your code?
Can you send me your PSpad.ini, I can test it with your settings

400kB AHK file with over 10 000 lines, executed immediatelly as well.

Edited 1 time(s). Last edit at 2021-06-28 07:23 by pspad.

Options: Reply | Quote | Up ^


#6 Re: PSPad unicode 5.0.7 (659) English

Posted by: MadCompie | Date: 2021-06-28 12:12 | IP: IP Logged

Hello,
You are right! I also tried this with a 7000 lines js file and indeed, very fast!
I think the problem will be related to it's type: it's a COBOL file.
The COBOL syntax does not like everything after pos 72 ;)
Perhaps this causes the delay?

Options: Reply | Quote | Up ^


#7 Re: PSPad unicode 5.0.7 (659) English

Posted by: pspad | Date: 2021-06-28 16:38 | IP: IP Logged

MadCompie:
Hello,
You are right! I also tried this with a 7000 lines js file and indeed, very fast!
I think the problem will be related to it's type: it's a COBOL file.
The COBOL syntax does not like everything after pos 72 ;)
Perhaps this causes the delay?

It was caused by Cobol Code folding.
I can solve it by switching off Code folding before SelText in scripting and return it back after. It will be immediate with Cobol files too.

I need to investigate if I can improve Cobol Code folding.

Options: Reply | Quote | Up ^


#8 Re: PSPad unicode 5.0.7 (659) English

Posted by: Extranjero | Date: 2021-06-30 09:40 | IP: IP Logged

Randomly inserting rare characters is still an issue, but much less than in previous versions.

Same with access violations: still happen, but less.

Minor observation: the save-button sometimes doesn't change to 'active' aspect on changes realized in the code.

Options: Reply | Quote | Up ^


#9 Re: PSPad unicode 5.0.7 (659) English

Posted by: Greg | Date: 2021-07-01 21:14 | IP: IP Logged

Hello ! ^^

Good news is the back to previous backup works perfectly fine.
I had to use it when i saw it is impossible to Paste to MS Excel. I didn't test it to another program.

Copy :

image

Fails Paste to Excel :

image

What it should have done :

image

Options: Reply | Quote | Up ^


#10 Re: PSPad unicode 5.0.7 (659) English

Posted by: PGomersall | Date: 2021-07-01 22:23 | IP: IP Logged

Greg,
It works (copy\paste to Excel - I used what you had in your images) for me in this (659 x64) version.
My text type was set to ANSI and document type was txt. Not sure if these settings have effect.

Options: Reply | Quote | Up ^


Goto Page: 1 2 3 Next





Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR