Re: PSPad unicode 5.0.7 (687) English [76692]

2021-10-19 Tema obsahu MadCompie
ALSO: after saving some ".htm" file: application error

Format 'Skin   : %u' invalid or incompatible with argument

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (687) English [76690]

2021-10-19 Tema obsahu MadCompie
Unfortunately, somtetimes after opening a file, a range of Chinese chars in the
middle of the text appears...?

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (681) English [76503]

2021-08-26 Tema obsahu MadCompie
Some other strange char phenomenon.
I open some files via FTP, it happens sometimes that 1 file contains Chinese
chars in the tab's tooltip. The name in the tab is correct.
But when saving the file, an error occurs "connection: ...chinese chars".
Then I close this file and after reopen all is OK...

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (681) English [76497]

2021-08-25 Tema obsahu MadCompie
Apparently, I saw that my file Recent.ini contained in the middle some binary
chars in the [script] tag. After I removed these chars, PSPad acted normally
again... Perhaps this is the problem?

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (681) English [76495]

2021-08-25 Tema obsahu MadCompie
Yet again application error with this version.
There were 8 open files (opened via FTP).
I guess the error happened after closing a file:


_List index out of bounds (230)_

Exception class: EStringListError
Exception address: 006AC16D


Stack list, generated 25/08/2021 14:48:30
[006AC168] FastIniFile.TIniItems.Insert (Line 1725, "FastIniFile.pas" + 1) +
$13
[006AB9E9] FastIniFile.TIniItems.Error (Line 1419, "FastIniFile.pas" + 1) + $11
[006AC168] FastIniFile.TIniItems.Insert (Line 1725, "FastIniFile.pas" + 1) +
$13
[006AB621] FastIniFile.TIniItems.AppendIdent (Line 1260, "FastIniFile.pas" + 10)
+ $13
[006AC124] FastIniFile.TIniItems.IndexOfIdent (Line 1707, "FastIniFile.pas" +
45) + $8
[006ADB9D] FastIniFile.TFastIniFile.WriteString (Line 2773, "FastIniFile.pas" +
21) + $A
[006E0A3D] uPSTypes..TMyMemIniFile (Line 277, "" + 0) + $6FA
[008DE8A1] uParams.TPSPadParam.WriteSaveWork (Line 1566, "uParams.pas" + 7) +
$3B
[00A6AB83] uMain.TfPSPad.SaveOpenFileList (Line 14540, "uMain.pas" + 36) + $D
[00A4914E] uMain.TfPSPad.PSCloseFiles (Line 2169, "uMain.pas" + 67) + $5
[00459009] System.Generics.Collections.TListHelper.InternalSetCapacity + $D
[00455F28] System.Generics.Collections.TListHelper.InternalGrow + $60
[00A48F53] uMain.TfPSPad.PSCloseFile (Line 2086, "uMain.pas" + 4) + $5
[00A67931] uMain.TfPSPad.FileTabsMouseDown (Line 13023, "uMain.pas" + 27) + $D
[0065D4DC] Vcl.Controls.TControl.MouseDown + $2C
[0065D570] Vcl.Controls.TControl.DoMouseDown + $88
[0065D62F] Vcl.Controls.TControl.WMLButtonDblClk + $47
[00591221] Vcl.ComCtrls.TPageControl.WMLButtonDblClk + $D
[00409FC7] System.TObject.Dispatch + $13
[0065CF2E] Vcl.Controls.TControl.WndProc + $2BE
[00662021] Vcl.Controls.TWinControl.WndProc + $665
[0040AA50] System.TMonitor.TryEnter + $28
[0040A578] System.TMonitor.Enter + $10
[006245D5] Vcl.Forms.TCustomForm.WndProc + $725
[0040A3E0] System.TMonitor.CheckOwningThread + $4
[0040A706] System.TMonitor.Exit + $6
[0040A762] System.TMonitor.Exit + $1A
[0051AC81] Vcl.Graphics.FreeMemoryContexts + $9D
[0066159C] Vcl.Controls.TWinControl.MainWndProc + $2C
[006615B1] Vcl.Controls.TWinControl.MainWndProc + $41
[00661794] Vcl.Controls.TWinControl.ControlAtPos + $10
[00661805] Vcl.Controls.TWinControl.IsControlMouseMsg + $65
[00662021] Vcl.Controls.TWinControl.WndProc + $665
[0094837F] TabControlEx.TCustomTabControlHelper.NewWndProc (Line 233,
"TabControlEx.pas" + 11) + $5
[0066159C] Vcl.Controls.TWinControl.MainWndProc + $2C
[004DB03C] System.Classes.StdWndProc + $14
[0062E62B] Vcl.Forms.TApplication.ProcessMessage + $F3
[0062E66E] Vcl.Forms.TApplication.HandleMessage + $A
[0062E9AD] Vcl.Forms.TApplication.Run + $D1
[00A97201] PSPad.PSPad (Line 119, "" + 56) + $7


Program  : C:\\PSPad editor\PSPad.exe  5.0.7 (681)
System   : Windows 10 Professional x64, Version: 10.0, Build: 47BB, 
Processor: Intel, Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, 2300 MHz MMX
Display  : 1920x1080 pixels, 32 bpp PPI: 96
Skin : Windows


Active Controls Hierarchy:
TPSSynEdit ""




-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (665) English [76325]

2021-07-15 Tema obsahu MadCompie
Me too an error...
When closing a file (which was opened via Windows file explorer) I got "list
index out of bounds (296)"
I close the file by double clicking on the file tab.
There were no other files openened at that time...

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (665) English [76298]

2021-07-08 Tema obsahu MadCompie
thx for the settings tip

but the dotted lines don't follow any logics

like javascript it is okay i.e. if { ... }
but in cobol not, lines seems to be random and also no folding possible?
in some previous versions ago, it worked

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (665) English [76291]

2021-07-08 Tema obsahu MadCompie
Hi, a small issue: when opening a COBOL file, the new code folding dotted lines
seems to be random? And the codefolding menu items are all disabled.
Perhaps there should also be an option to enable/disable codefolding?

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (659) English [76224]

2021-06-28 Tema obsahu 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?

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (659) English [76214]

2021-06-28 Tema obsahu MadCompie
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...

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (655) English [76181]

2021-06-25 Tema obsahu MadCompie
pspad:

Shouldnt it be:

editor.selText(text)



Not for VBScript, parenthesis only for functions (returns) not for procedures
(void)

The selText works but is very very slow using >500 lines...

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (655) English [76174]

2021-06-24 Tema obsahu MadCompie
Yet another issue, not sure if it is related to this version.
I use some VBScript to append some extra text to the selected text.


text = editor.selText()
'split the selected text into lines
lines = Split(text, EOL)
'... append new text per line...
'...
'combine the lines again into text
text = Join(lines, EOL)
editor.selText text


I timed each step, everything works speedy except the last statement: selText

For some 3000 (simple) lines the selText method took about 1 minute which is
very slow compared to all other actions (lees than a second)...

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (655) English [76172]

2021-06-24 Tema obsahu MadCompie
Oh no... access violation again...:-(
PSPad was already opened.
I simply tried to open a file (via Filezilla/edit file): immediately followed by
an exception.
So I had to terminate PSPad.
But after opening the same file again via Filezilla, it worked fine?
Anyway, here's my exception log:


Exception class: EAccessViolation
Exception address: 006ADB12


Stack list, generated 24/06/2021 13:25:29
[006ADB12] Vcl.Controls.AlignWork + $26
[006ADB0D] Vcl.Controls.AlignWork + $21
[006AE63E] Vcl.Controls.TWinControl.GetControl + $32
[006ADB0D] Vcl.Controls.AlignWork + $21
[006ADEE1] Vcl.Controls.TWinControl.AlignControls + $45
[006708E2] Vcl.Forms.TScrollingWinControl.AlignControls + $16
[0067328E] Vcl.Forms.TCustomForm.AlignControls + $E
[006B34A7] Vcl.Controls.TWinControl.GetClientRect + $F
[0067253B] Vcl.Forms.TCustomForm.GetClientRect + $7F
[006AE0DE] Vcl.Controls.TWinControl.AlignControl + $62
[006B11E9] Vcl.Controls.TWinControl.WMSize + $65
[00670F3C] Vcl.Forms.TScrollingWinControl.WMSize + $28
[00409E9F] System.TObject.Dispatch + $13
[006AB006] Vcl.Controls.TControl.WndProc + $2BE
[00771972] SynEdit.TCustomSynEdit.UpdateScrollBars (Line 4985, "SynEdit.pas" +
108) + $4
[006AEEBA] Vcl.Controls.TWinControl.PrecedingWindow + $2E
[006AEF31] Vcl.Controls.TWinControl.CreateHandle + $5D
[006B3304] Vcl.Controls.TWinControl.HandleNeeded + $1C
[006B3311] Vcl.Controls.TWinControl.GetHandle + $5
[006AFF5B] Vcl.Controls.TWinControl.WndProc + $693
[0067542E] Vcl.Forms.TCustomForm.SetActiveControl + $8A
[00675981] Vcl.Forms.TCustomForm.SetActive + $5D
[006769EF] Vcl.Forms.TCustomForm.WMMDIActivate + $2B
[00672FD3] Vcl.Forms.TCustomForm.WndProc + $6DB
[0040A63A] System.TMonitor.Exit + $1A
[00547F19] Vcl.Graphics.FreeMemoryContexts + $9D
[006AF4A8] Vcl.Controls.TWinControl.MainWndProc + $2C
[004EAF44] System.Classes.StdWndProc + $14
[00672FD3] Vcl.Forms.TCustomForm.WndProc + $6DB
[006B0066] Vcl.Controls.TWinControl.DefaultHandler + $E6
[0067539A] Vcl.Forms.TCustomForm.DefaultHandler + $5A
[006ABB18] Vcl.Controls.TControl.WMWindowPosChanged + $C
[006B110A] Vcl.Controls.TWinControl.WMWindowPosChanged + $92
[00676CEE] Vcl.Forms.TCustomForm.WMWindowPosChanged + $A
[006AB006] Vcl.Controls.TControl.WndProc + $2BE
[0067539A] Vcl.Forms.TCustomForm.DefaultHandler + $5A
[006AB006] Vcl.Controls.TControl.WndProc + $2BE
[006AFF5B] Vcl.Controls.TWinControl.WndProc + $693
[00672FD3] Vcl.Forms.TCustomForm.WndProc + $6DB
[00672FE8] Vcl.Forms.TCustomForm.WndProc + $6F0
[0040A2B8] System.TMonitor.CheckOwningThread + $4
[006AF4A8] Vcl.Controls.TWinControl.MainWndProc + $2C
[004EAF44] System.Classes.StdWndProc + $14
[00AAA151] uMain.TfPSPad.CreateChild (Line 2870, "uMain.pas" + 39) + $A
[00AAF3A5] uMain.TfPSPad.OpenSynEditFile (Line 4364, "uMain.pas" + 29) + $4
[00ABD9C2] uMain.TfPSPad.OpenFileByParams (Line 9438, "uMain.pas" + 169) + $A
[00ABDEF6] uMain.TfPSPad.WMGetCommand (Line 9539, "uMain.pas" + 29) + $5
[006AB006] Vcl.Controls.TControl.WndProc + $2BE
[00673046] Vcl.Forms.Default + $3A
[006AFF5B] Vcl.Controls.TWinControl.WndProc + $693
[0040A63A] System.TMonitor.Exit + $1A
[00547F19] Vcl.Graphics.FreeMemoryContexts + $9D
[006AF4A8] Vcl.Controls.TWinControl.MainWndProc + $2C
[006AF4BD] Vcl.Controls.TWinControl.MainWndProc + $41
[00672FD3] Vcl.Forms.TCustomForm.WndProc + $6DB
[004EAF44] System.Classes.StdWndProc + $14
[006AF4A8] Vcl.Controls.TWinControl.MainWndProc + $2C
[004EAF44] System.Classes.StdWndProc + $14
[006A5CB2] Vcl.Controls.FindControl + $42
[0040A928] System.TMonitor.TryEnter + $28
[0040A450] System.TMonitor.Enter + $10
[0040A2B8] System.TMonitor.CheckOwningThread + $4
[0067CD7C] Vcl.Forms.TApplication.ProcessMessage + $14
[0067CE9E] Vcl.Forms.TApplication.HandleMessage + $A
[0067D1D5] Vcl.Forms.TApplication.Run + $C9
[00AF42B1] PSPad.PSPad (Line 119, "" + 56) + $7


Program  : C:\MARCEL\PSPad editor\PSPad.exe  5.0.7 (651)
System   : Windows 10 Professional x64, Version: 10.0, Build: 47BB, 
Processor: Intel, Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, 2300 MHz MMX
Display  : 1920x1080 pixels, 32 bpp PPI: 96
Skin : Windows


Active Controls Hierarchy:
TPSSynEdit "FEditor1"
TfChildEdit "fEdit_G76093234"




-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (638) English [75920]

2021-05-27 Tema obsahu MadCompie
in the meanwhile...

thumb up: fixed "focus last tab"
thumb up: fixed "always save"

thx for the changes;-)

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (629) English [75810]

2021-05-19 Tema obsahu MadCompie
I understand...
Indeed, reload means "no change".
but this is not the case for FTP files, because the reload happens from within,
the temp folder, not from FTP again...

Could it be possible to force the "changed" flag if we reload a FTP linked file
because of an external change?

(because the file is reloaded from temp, but nof from FTP)

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (629) English [75806]

2021-05-19 Tema obsahu MadCompie
pspad:

When you reload file, if the fact it isn't changed, because the file is same as
it's image on the disk.
I can intentionally mark the file as "modified" after reload, but I am not sure,
if it is correct.


If I _replace _simply one character, PSPad does not detect the change (same
file size, I suppose it is not easy to detect a single replacement as a file
change...?)
But in my case there really was a change in file size (text _added_) so the
"changed" indicator in the file tab should be visible?

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (629) English [75804]

2021-05-19 Tema obsahu MadCompie
Day 2... good news... so far no more exceptions, everything stable!

I also found the cause of my FTP saving problem. With the latest versions a file
is not marked as "changed" anymore when it has been changed by an external
program.
Practically, I open 2 files, send them to "diffmerge" (to compare) and after
doing some changes + saving in "diffmerge", PSPad detects the change and asks to
load again... the changes are ok after the reload BUT the file is not marked as
"changed"... and no changes also means no save :(
When I enter a single char and delete it again, the file is marked as "changed"
and I can save it back to FTP.

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (629) English [75800]

2021-05-18 Tema obsahu MadCompie
MadCompie:

Hi Jan,
I don't use SSL, just plain FTP.
When using version 5.0.5 (561) files are saved backed to FTP with Ctrl+S but
since the newer version 5.0.7 (625) not anymore...


Nevermind Jan, I tried from version 561 all the versions until your 634 and the
problem seems to be solved... it saves again to FTP!

-- 
<https://forum.pspad.com/read.php?6,75744,75800>
PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (629) English [75799]

2021-05-18 Tema obsahu MadCompie
Hi Jan,
I don't use SSL, just plain FTP.
When using version 5.0.5 (561) files are saved backed to FTP with Ctrl+S but
since the newer version 5.0.7 (625) not anymore...

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (629) English [75796]

2021-05-18 Tema obsahu MadCompie
Hello again...

No more exceptions here! Thumbs up!

Thx for the speedy solution.

but unfortunately I have 2 new (small) issues...

1) FTP connections lost? Open file from FTP...do some changes...save
(ctrl+S)...
the file is not anymore saved back to FTP? I must go to the remote directory and
explicitely choosing "save as to ftp". This worked well in the other versions.

2) I open 5 files = 5 tabs
In the older versions:
- activate file 2 (click on tab 2)
- activate file 4 (click on tab 4)
- close file 4 --> file 2 is activated = ok

In the new version
- activate file 2 (click on tab 2)
- activate file 4 (click on tab 4)
- close file 4 --> file 3 is activated = not file 2 anymore !

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (629) English [75795]

2021-05-18 Tema obsahu MadCompie
pspad:

OK, stupid inifiles. I start to be really upset.

5.0.7 (634)
https://pspad.poradna.net/devel/pspad507b634.zip
this version has removed some problematic parts which causes problems.



No hard feelings ;-)
I'll try it out...

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (629) English [75793]

2021-05-18 Tema obsahu MadCompie
pspad:

test version 5.0.7 (633) 32b
https://pspad.poradna.net/devel/pspad507b633.zip


Hi, some settings were lost after opening this version (other language, no
scripts enabled,...) so I tried to close PSPad but...

List index out of bounds (1809) :-(

Exception description:


List index out of bounds (1809).

Exception class: EStringListError
Exception address: 006FB0F5


Stack list, generated 18/05/2021 14:36:29
[006FB0F0] FastIniFile.TIniItems.Insert (Line 1725, "FastIniFile.pas" + 1) +
$13
[006FA989] FastIniFile.TIniItems.Error (Line 1419, "FastIniFile.pas" + 1) + $11
[006FB0F0] FastIniFile.TIniItems.Insert (Line 1725, "FastIniFile.pas" + 1) +
$13
[006FA5C1] FastIniFile.TIniItems.AppendIdent (Line 1260, "FastIniFile.pas" + 10)
+ $13
[006FB0AC] FastIniFile.TIniItems.IndexOfIdent (Line 1707, "FastIniFile.pas" +
45) + $8
[006FCB25] FastIniFile.TFastIniFile.WriteString (Line 2773, "FastIniFile.pas" +
21) + $A
[0052C8B4] System.IniFiles.TCustomIniFile.WriteBool + $18
[009249C0] uParams.TPSPadParam.WriteParams (Line 938, "uParams.pas" + 48) + $14
[00AA7934] uMain.TfPSPad.FormCloseQuery (Line 2679, "uMain.pas" + 153) + $7
[00677B90] Vcl.Forms.TCustomForm.CloseQuery + $54
[00677AB9] Vcl.Forms.TCustomForm.Close + $21
[00ABC34E] uMain.TfPSPad.aExitExecute (Line 9765, "uMain.pas" + 2) + $0
[00AC2F54] uMain.TfPSPad.ActionListExecute (Line 12459, "uMain.pas" + 8) + $7
[0056316C] System.Actions.TContainedActionList.ExecuteAction + $70
[00409E1A] System.@CallDynaInst + $6
[00566155] Vcl.ActnList.TCustomAction.Execute + $69
[004EA0BF] System.Classes.TBasicActionLink.Execute + $13
[006961F3] Vcl.Menus.TMenuItem.Click + $93
[006979CB] Vcl.Menus.TMenu.DispatchCommand + $13
[006766C4] Vcl.Forms.TCustomForm.WMCommand + $38
[006AB082] Vcl.Controls.TControl.WndProc + $2BE
[0040A450] System.TMonitor.Enter + $10
[00673064] Vcl.Forms.TCustomForm.WndProc + $6F0
[0040A2B8] System.TMonitor.CheckOwningThread + $4
[0040A5DE] System.TMonitor.Exit + $6
[006AFFD7] Vcl.Controls.TWinControl.WndProc + $693
[006AF524] Vcl.Controls.TWinControl.MainWndProc + $2C
[006AF539] Vcl.Controls.TWinControl.MainWndProc + $41
[0040A928] System.TMonitor.TryEnter + $28
[0040A450] System.TMonitor.Enter + $10
[00673064] Vcl.Forms.TCustomForm.WndProc + $6F0
[0040A2B8] System.TMonitor.CheckOwningThread + $4
[0040A5DE] System.TMonitor.Exit + $6
[0040A63A] System.TMonitor.Exit + $1A
[00547F95] Vcl.Graphics.FreeMemoryContexts + $9D
[006AF524] Vcl.Controls.TWinControl.MainWndProc + $2C
[006AF539] Vcl.Controls.TWinControl.MainWndProc + $41
[004EAFC0] System.Classes.StdWndProc + $14
[006AFFD7] Vcl.Controls.TWinControl.WndProc + $693
[0067304F] Vcl.Forms.TCustomForm.WndProc + $6DB
[0040A63A] System.TMonitor.Exit + $1A
[00547F95] Vcl.Graphics.FreeMemoryContexts + $9D
[006AF524] Vcl.Controls.TWinControl.MainWndProc + $2C
[004EAFC0] System.Classes.StdWndProc + $14
[0067CED7] Vcl.Forms.TApplication.ProcessMessage + $F3
[0067CF1A] Vcl.Forms.TApplication.HandleMessage + $A
[0067D251] Vcl.Forms.TApplication.Run + $C9
[00AF639D] PSPad.PSPad (Line 121, "" + 55) + $7


Program  : C:\\PSPad editor\PSPad.exe  5.0.7 (633)
System   : Windows 10 Professional x64, Version: 10.0, Build: 47BB, 
Processor: Intel, Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, 2300 MHz MMX
Display  : 1920x1080 pixels, 32 bpp PPI: 96
Skin : Windows


Active Controls Hierarchy:
TPSSynEdit "FEditor1"
TfChildEdit "fEdit_A49910473"




-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (629) English [75791]

2021-05-18 Tema obsahu MadCompie
Normally the most of my files are already in ANSI Western European 1252.
And after the error & starting PSPad again, I could open the file without
errors, very strange...

Also, for my other post (log for acess violation error), I got it again, at same
address 004E883B. I simply closed a file, which was openened via FTP.

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (629) English [75787]

2021-05-18 Tema obsahu MadCompie
PSPad was already open

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (629) English [75781]

2021-05-18 Tema obsahu MadCompie
Hi Jan,

I returned back to version 579 but the memory problem is still there...

[b]Access violation at address 004E883B in module 'PSPad.exe'. Read of address
00FF.[/b]

Exception description:


Access violation at address 004E883B in module 'PSPad.exe'. Read of
address 00FF.

Exception class: EAccessViolation
Exception address: 004E883B


Stack list, generated 18/05/2021 11:25:26
[004E883B] System.Classes.TComponent.RemoveFreeNotifications + $33
[004F0040]
System.Classes.{System.Generics.Collections}TEnumerable.ToArray + $60
[00406FA0] System.@FreeMem + $4
[004E8664] System.Classes.TComponent.Destroy + $14
[006AA421] Vcl.Controls.TControl.Destroy + $121
[00409914] System.TObject.FreeInstance + $C
[0040A07E] System.@ClassDestroy + $2
[004D18C7] System.Classes.TPersistent.Destroy + $23
[006AF13D] Vcl.Controls.TWinControl.Destroy + $165
[00672843] Vcl.Forms.TScrollingWinControl.Destroy + $4B
[006738B4] Vcl.Forms.TCustomForm.Destroy + $138
[00409A0C] System.TObject.Free + $8
[00679910] Vcl.Forms.TCustomForm.CMRelease + $0
[006ACFE2] Vcl.Controls.TControl.WndProc + $2BE
[005C1B8F] Vcl.ComCtrls.TPageControl.WMLButtonDblClk + $33
[006ACFE2] Vcl.Controls.TControl.WndProc + $2BE
[004EAEE4] System.Classes.StdWndProc + $14
[006B1F37] Vcl.Controls.TWinControl.WndProc + $693
[0040A91C] System.TMonitor.TryEnter + $28
[0040A444] System.TMonitor.Enter + $10
[00674FC4] Vcl.Forms.TCustomForm.WndProc + $6F0
[0040A2AC] System.TMonitor.CheckOwningThread + $4
[0040A5D2] System.TMonitor.Exit + $6
[0040A62E] System.TMonitor.Exit + $1A
[00549E55] Vcl.Graphics.FreeMemoryContexts + $9D
[006B1484] Vcl.Controls.TWinControl.MainWndProc + $2C
[006B1499] Vcl.Controls.TWinControl.MainWndProc + $41
[004EAEE4] System.Classes.StdWndProc + $14
[006B167C] Vcl.Controls.TWinControl.ControlAtPos + $10
[006B1F37] Vcl.Controls.TWinControl.WndProc + $693
[00674FAF] Vcl.Forms.TCustomForm.WndProc + $6DB
[0040A62E] System.TMonitor.Exit + $1A
[00549E55] Vcl.Graphics.FreeMemoryContexts + $9D
[006B1484] Vcl.Controls.TWinControl.MainWndProc + $2C
[004EAEE4] System.Classes.StdWndProc + $14
[0067EE37] Vcl.Forms.TApplication.ProcessMessage + $F3
[0067EE7A] Vcl.Forms.TApplication.HandleMessage + $A
[0067F1B1] Vcl.Forms.TApplication.Run + $C9
[00AD53DD] PSPad.PSPad (Line 122, "" + 55) + $7


Program  : C:\\PSPad editor\PSPad.exe  5.0.6 (579)
System   : Windows 10 Professional x64, Version: 10.0, Build: 47BB, 
Processor: Intel, Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, 2300 MHz MMX
Display  : 1920x1080 pixels, 32 bpp PPI: 96
Skin : Windows


Active Controls Hierarchy:
TPSSynEdit "FEditor1"
TfChildEdit "fEdit_B05694930"



-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (629) English [75778]

2021-05-18 Tema obsahu MadCompie
I'll try to capture it...
Just now, it freezes again, no error message.
I simply opened a (small) txt file and saw that the content was corrupted on the
screen (some lines were melted together with strange chars).
But when viewing the file in another editor (notepad, vi, ...) there is nothing
wrong with the content. After closing pspad with task manager it opens the same
file normally...
Could this be encoding? (the file was regular ascii, perhaps it assumed some
utf-8?)...

I also (always) encounter an exception when using the new "updater".
After updating to latest development version, pspad can't be opened (exception +
terminate).
Then I must revert back to latest current full version = ok.
After again updater with dev version = ok.

I also saw some recent file PSCache5.BIN, i renamed it but that did not solve
the update problem...

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.7 (629) English [75774]

2021-05-18 Tema obsahu MadCompie
Lately, I get a lot of memory exceptions in pspad...
It freezes and should be terminated by ctrl+alt+del/taskman.
Not sure what the cause is.
Today 2 times in 1 hour, same procedure:
- opening 6 files via FTP... (via VBScript / ftpDownloadFile)
- after the 3rd file, memory exception read ad 0x00FF or something

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.5 (549) English [74687]

2021-02-04 Tema obsahu MadCompie
Hello,

With this version the filenames disappear from the tab.
My simulation:
- open a random file: filename OK in the tab
- minimize PSPad & restore: filename remains OK
- close PSPad (not really close but minimized close) & restore: filenames are
gone
- Must now really close & restart PSPad to show the filenames again

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (535) English [74444]

2020-11-30 Tema obsahu MadCompie
Love the FTP case insensitive search!

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (531) English [74330]

2020-10-19 Tema obsahu MadCompie
Nice job!

My "maximized" problem is also solved by this.
Also love the feature to close "all to left", "all to right" and "all other".

Thumb up!;-)

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (527) English [74228]

2020-09-24 Tema obsahu MadCompie
Sorry, I was not fully clear ;-)

Hello PSPad,

EXAMPLE:


folder
..|-- somename (= file)
..|-- SomeName (= submap)
|-- someSubmap (= submap)
..|-- someOthername (= file)


So when trying to open the file "someOthername" an exception occurs:
_Cannot create directory "C:\Users\"_

I think probably there is a conflict using names in the temporary folders?
The file "somename" equals the folder "SomeName" (mind the case insensitivity)?

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (527) English [74226]

2020-09-24 Tema obsahu MadCompie
Hello PSPad,

I often open files using FTP. There seems to be a problem when opening a file in
a folder that also contains a subfolder with the same filename.
I.e.
folder
  |-- somename (this is a file)
  |-- somename (this is a submap)
|-- someothername (this is a file)

So when trying to open the file "somename" an exception occurs ; I think
probably there is a conflict using names in the temporary folders?

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (527) English [74219]

2020-09-16 Tema obsahu MadCompie
Okay, thx!

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (527) English [74217]

2020-09-16 Tema obsahu MadCompie
Hi, this last version (527) has been blocked by my anti-virus as "Mal/Generic-S"
(from Sophos)... the previous version (521) is ok...
Perhaps something wrong in the binaries?

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (527) English [74215]

2020-09-14 Tema obsahu MadCompie
1) open PSPad
2) no files are opened
3) in the explorer panel I mostly select a file using FTP ; but the problem is
also when selecting a file from the local disk
4) double-click the file... the file is no longer maximized

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (527) English [74213]

2020-09-14 Tema obsahu MadCompie
Hello PSPad!
The maximized problem is still there I guess?
When no file is open: open a file, the file is not maximized anymore.
Then maximize the opened file. All subsequent files will nowopen maximized (=
OK).
But after closing them all, any new file will be opened not as maximized
again...

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (521) English [74115]

2020-08-18 Tema obsahu MadCompie
Same feeling over here...
What if... every day was a holiday ;-)

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (517) English [74088]

2020-08-13 Tema obsahu MadCompie
Hello,

After installing this update, when I open a file it is no longer automatically
maximized in the viewport. When opened I must always click the square to maxize
it...

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (511) English [73873]

2020-06-25 Tema obsahu MadCompie
Yes indeed, also difficult to show those chars in hex mode!
Not necessary to implement!

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (511) English [73861]

2020-06-24 Tema obsahu MadCompie
Hi Jan,
I think there's an issue about UTF-8:
When selecting a special UTF-8 char (like the heart 1F49A) an application error
occurs:
Exception class: EJclUnexpectedEOSequenceError
Exception address: 006D4D4A


Stack list, generated 24/06/2020 14:13:00
[006D4D45] JclUnicode.WideCaseConvert (Line 7004, "JclUnicode.pas" + 11) + $C
[009D0EEF] uChildEdit.TfChildEdit.SynEditPaintTransient (Line 1908,
"uChildEdit.pas" + 89) + $47
[0074FE4E] SynEdit.TCustomSynEdit.DoOnPaintTransientEx (Line 10340,
"SynEdit.pas" + 25) + $1A

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (507) English [73782]

2020-06-16 Tema obsahu MadCompie
thx for looking min/max problem, it works fine now!

indeed I also encountered the loss of highlighting in the ini file
recovered it from a previous version

also na exception + terminate after installing

i had to delete the cache file and now everything works fine ; perhaps the cache
file should be deleted after every new version install? (in my case i "install"
it just by copying the zip contents...)

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (505) English [73734]

2020-06-10 Tema obsahu MadCompie
ok, I sent you a PM

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (502) English [73699]

2020-06-05 Tema obsahu MadCompie
thx for the modifications!
FTP timestamp = perfect
selection of other matches = perfect

yet another issue I encountered:
- open 5 files (in my case it was via FTP)
- set the focus to the contents of the last file
- minimize PSPad
- restore PSPad
- the focus is still on the last file (tab is bold) but the contents are those
from another file

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (407) English [73592]

2020-05-27 Tema obsahu MadCompie
pspad:

For the local files I am able to check size and file stamp, but not for files
from FTP



Extending file size check with a timestamp check (for local files!) is very fine
for me, thx! And indeed there is no purpose to do this through FTP.

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (407) English [73587]

2020-05-27 Tema obsahu MadCompie
pspad:

Have you changed file content to influence of filesize? Cause as I remember, I
can ask fize of FTP objekt, but not the datetime.


Hi Jan,

Small update on my problem : it was probibly a coincidence...
Good news  : the file change detection using FTP files still works with the new
version! And the issue has nothing to do with FTP...

When I change a text "ABC" into "012345", PSPad does detect a file change = OK.
But probably what I encountered (and confused me) was changing a text "ABC" into
"XYZ" : the contents are indeed different but the SIZE remain the same, so : no
file change...
Perhaps that could be a solution : maintaining some kind of a hash of the file?

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (407) English [73570]

2020-05-25 Tema obsahu MadCompie
I did not change anything through FTP... 
Just opened the file and then using PSPad VBscript I open the temp file.
After the external modification of the temp file, PSPad did not detect the
change anymore...

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (407) English [73568]

2020-05-25 Tema obsahu MadCompie
Hi Jan, it did work until this latest release...
I guess the following happens:

1) opening a file with FTP : the file is "imported" in a temp folder somewhere
in my local C:
2) doing some changes in the text
3) F12 = save as to this local file
or "save to ftp" or simply "save" = save back to FTP

point 2) seems to be missing?
with the other version the temp file was opened and after opening & saving it in
an external program (ex. xml editor, comparer, ...) the temp file is changed and
was detected by PSPad ; a dialog opened with the question to accept the external
changes...

so indeed, no controls if a ftp source has changed but it should check the temp
file?

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (407) English [73566]

2020-05-25 Tema obsahu MadCompie
thx!

yet some other issue:

if a open a file with FTP and I do some changes with at other program + save in
that program, PSPad does not longer detect that the file has been changed...

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (407) English [73564]

2020-05-25 Tema obsahu MadCompie
_FTP_ file sort order does not work correctly...
Sort by name = ok
Sort by size = ok
Sort by extension = ok
Sort by timestamp = error

file1.. 25/05/2020 13:44:00
file2.. 25/05/2020 13:45:00
file3.. 25/05/2020 13:45:00
file4.. 25/05/2020 13:42:00

Strange...

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (407) English [73561]

2020-05-25 Tema obsahu MadCompie
top!;-)

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (407) English [73551]

2020-05-25 Tema obsahu MadCompie
Good optimizations! Also I like "the save as to ftp" which directly saves to ftp
now.
Yet a behaviour question :
pspad:

Other occurences of selected text - changed to case insensitive, spaces on the
begin/end are trimmed


Ex. 3 lines of text
TEXT1
TEXT2
TEXT3

If I search (or select) "tex" the following is displayed

TEXT1 (with TEX in default highlight color)
texT2 (with tex in alternate highlight color)
texT3 (with tex in alternate highlight color)

So the case of my text is changed? I think it is better to indeed select the
match (case insensitive unless we specify it in the search modal) but not to
change the case of the occurencies?

When leaving the selection, case is correctly restored

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (400) English [73492]

2020-05-19 Tema obsahu MadCompie
yes indeed, that was the cause. Option was not activated = error.
I activated the option and now it works.
Thx!

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (400) English [73490]

2020-05-19 Tema obsahu MadCompie
It was indeed the 32-bits version... bizarre...
Restored the previous version: problem solved.
With the latest version: error...

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (400) English [73486]

2020-05-19 Tema obsahu MadCompie
Oopsie...
After opening a local file (a simple .txt) I can't use F12-"save as" anymore...
Nothing else is opened, only this text file.
Immediately after pressing F12:
cite:

Access violation at address 007F53CC in module 'PSPad.exe'. Read of
address .



Error message details:
cite:

Exception class: EAccessViolation
Exception address: 007F53CC


Stack list, generated 19/05/2020 9:12:27
[007F53CC] uHLList.Tdm.ReturnFilterIndex (Line 951, "uHLList.pas" + 3) + $5
[00A175BE] uMain.TfPSPad.SaveFileAs (Line 4510, "uMain.pas" + 17) + $30
[00A17C60] uMain.TfPSPad.aSaveAsExecute (Line 4601, "uMain.pas" + 5) + $E
[00A2BF64] uMain.TfPSPad.ActionListExecute (Line 11940, "uMain.pas" + 11) + $7
[0056A2E0] System.Actions.TContainedActionList.ExecuteAction + $70
[00409EBA] System.@CallDynaInst + $6
[0056D2D9] Vcl.ActnList.TCustomAction.Execute + $69
[004EE207] System.Classes.TBasicActionLink.Execute + $13
[0069B837] Vcl.Menus.TMenuItem.Click + $93
[0069D007] Vcl.Menus.TMenu.DispatchCommand + $13
[0067C094] Vcl.Forms.TCustomForm.WMCommand + $38
[006B0632] Vcl.Controls.TControl.WndProc + $2BE
[006B551A] Vcl.Controls.TWinControl.WndProc + $686
[00678A5D] Vcl.Forms.TCustomForm.WndProc + $691
[006B4A9C] Vcl.Controls.TWinControl.MainWndProc + $2C
[004EF0F8] System.Classes.StdWndProc + $14
[006827A7] Vcl.Forms.TApplication.ProcessMessage + $F3
[006827EA] Vcl.Forms.TApplication.HandleMessage + $A
[00682B1D] Vcl.Forms.TApplication.Run + $C9
[00A589C2] PSPad.PSPad (Line 106, "PSPad.dpr" + 45) + $7


Program  : C:\xxx\PSPad editor\PSPad.exe  5.0.4 (400)
System   : Windows 10 Professional x64, Version: 10.0, Build: 3839, 
Processor: Intel, Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz, 3600 MHz MMX
Display  : 1920x1080 pixels, 32 bpp PPI: 96


Active Controls Hierarchy:
TPSSynEdit "FEditor1"
TfChildEdit "fEdit_H88313129"




-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (385) English [73208]

2020-04-01 Tema obsahu MadCompie
Thx! FTP connections window is ok now!

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.4 (381) English [73033]

2020-03-02 Tema obsahu MadCompie
Dear Jan,
I can create a group in FTP and drag a connection into this group.
Opening FTP in "edit mode" works fine, I see the group.
But opening FTP in "popup mode" (clicking the small arrow) results in an "access
violation at address 00842039 in module PSPad.exe. Read of address 009D"

Log:

Stack list, generated 2/03/2020 21:31:50
[00842039] uFTP.TfFTP.popupConnectionsPopup (Line 695, "uFTP.pas" + 27) + $8
[0040D19C] System.@FinalizeRecord + $28
[006860CB] Vcl.Menus.TPopupMenu.DoPopup + $13
...
Program  : C:\Program Files (x86)\PSPad editor\PSPad.exe  5.0.4 (381)
System   : Windows 10 Home Edition x64, Version: 10.0, Build: 47BA, 
Processor: Intel, Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz, 3390 MHz MMX
Display  : 1920x1080 pixels, 32 bpp PPI: 96
...
Active Controls Hierarchy:
TListView "listFTP"
TfFTP "fFTP"
TTabSheet ""
TPageControl "PageExplorer"
TPanel "panelProject"
TfPSPad "fPSPad"



-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.3 (365) English [72525]

2020-01-20 Tema obsahu MadCompie
Perfect!

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.3 (365) English [72503]

2020-01-20 Tema obsahu MadCompie
Hello, here a step-by-step example:
1) open ftp edit popup
2) select existing connection "A"
3) click button "duplicate"
4) enter a random name "ABCDEFG"
5) error message!

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.3 (365) English [72496]

2020-01-20 Tema obsahu MadCompie
But it is a different name?
Ex. "kljsfdsgh" is a randomly generated name that does not exist yet in the
list...

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.3 (365) English [72475]

2020-01-17 Tema obsahu MadCompie
Hi Jan, love the new FTP grouping!
I have some questions about this new functionality:
1) duplicate doesn't work anymore (ex. duplicatie "ABC" to "kljsfdsgh" results
in error that "kljsfdsgh" already exists
2) grouping is only visible while editing the FTP entries. Could it be possible
to group it also in the pop-up (with all FTP entries) that appears after
pressing the little arrow button?

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.2 (319) English [71348]

2019-04-03 Tema obsahu MadCompie
Hi Jan,

Me very happy with the FTP dates parsing, works like a charm!
Keep up the good work!

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.2 (315) English [71282]

2019-03-21 Tema obsahu MadCompie
pspad:

Just tested parsing. Files without year are parsed as files from the 2019
year.
I can modify parsing and set year to 2018, if day and month will be newer than
current date.



FANTASTIC!

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.2 (315) English [71248]

2019-03-20 Tema obsahu MadCompie
pspad:

Hello

If you press button LIST in the LOG window, it will put raw listing into log.
You can send me it as mail attachment - all spaces and formating are important
and add name of your FTP (I mean name of the software). 
If you tell me what file name shows in PSpad wrong dat, I can try to modify
parsing



Hello again!

Here the results of a LIST command as of today (14/03/2019) :

SYST
215 UNIX
TYPE A
200 Representation type set to ASCII Non-print
PASV
227 Entering Passive Mode (127,0,0,1,193,123)
LIST -la 
150 Opening ASCII mode data connection for file list
226 Directory listing complete, closing data connection

-rwxrwxrwx   1  513  208   136704 Mar 14 15:04 File01
-rw-r--r--   1  513  20815465 Aug 16  2018 File02
-rw-r--r--   1  513  208   121245 Aug 31  2018 File03
-rwxrwxrwx   1  513  20851456 Mar 14 15:03 File04
-rw-rw-r--   1  513  208  479 Oct  2 11:22 File05
-rwxrwxrwx   1  513  20824832 Mar 14 15:03 File06
-rwxrwxrwx   1  513  208 4600 Oct  1  2014 File07
drwxrwxrwx   1  513  208 4096 Mar 14 15:02 ..
-rw-rw-r--   1  513  20835328 Mar 14 15:03 File08
-rw-r--r--   1  513  20845373 Mar  5 11:50 File09
drwxrwxrwx   1  513  208 4096 Mar 14 15:03 .
-rwxrwxrwx   1  513  20821248 Mar 14 15:03 File10


The file "File05" has "Oct" as month but with no year... PSPad will interpret it
as "02/10/2019" I suppose.
Not sure if it could be possible to parse this...
I would suggest : if no year is found and the combination day+month is greather
than today then it can only be year minus 1.
ex. "File07" also contains "Oct 1" but the year is filled in...

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.2 (315) English [71240]

2019-03-13 Tema obsahu MadCompie
Hi, I checked and indeed MLSD is not supported so that could be the reason.
Thx for your response!

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.2 (315) English [71213]

2019-03-08 Tema obsahu MadCompie
Hi! 
I found something weird in the FTP explorer (connected with a Linux).

A file is last changed 2018-10-02 11:22:32

When using the FTP explorer in PSPad and sorting all files by date, this file
from 2018-10-02 becomes the first in line?

It says "2019-10-02"... so indeed that is > today but this is not correct.

Perhaps this is due to Linux behaviour?
When listing the files in Linux ("ls -l") it says "Oct  2 11:22" ...
So no year, because it is not relevant (we KNOW that 2019 is not possible, so it
MUST be 2018, otherwise 2017 would be displayed).

When using "stat" it says correctly:

Access: 2019-03-08 11:54:50.571168848 +0100
Modify: 2018-10-02 11:22:32.715676145 +0200
Change: 2018-10-02 11:22:32.715676145 +0200

Perhaps it could be possible to obtain the dates in PSPad using the FTP RAW
command "MDTM" ?
when I do that in the FTP explorer I obtain the correct date:

mdtm 
213 20181002092232

-- 

PSPad freeware editor https://www.pspad.com


Re: UTF-8 [70426]

2018-07-04 Tema obsahu MadCompie
Hello,
Very sorry, but unfortunately this does not work...
After the external edit+save PSPad asks me "file contents were changed,
reload?".
If I answer "yes", the new content is present but the UTF-8 is changed back to
ASCII...

-- 

PSPad freeware editor https://www.pspad.com


Re: FTP home directory [70425]

2018-07-04 Tema obsahu MadCompie
Hi,
I think my problem is that I can't empty the field "remote directory"... If I
enter nothing PSPad always assumes "/" which is the root directory. When nothing
is entered in the "remote directory" I think PSpad should not execute the CWD
command?
Or perhaps a CWD with the path obtained from FTP RAW command "PWD" ?

-- 

PSPad freeware editor https://www.pspad.com


Re: FTP home directory [70402]

2018-06-26 Tema obsahu MadCompie
However, using VB scripting (ftpConnect) I can open the FTP connection with a
shortcut and execute the FTP command (ftpCommand) CWD /dirB/subdirB/ and this
works fine... I guess the same command should be executed with the button
"connect" in the ftp window?

-- 

PSPad freeware editor https://www.pspad.com


UTF-8 [70400]

2018-06-26 Tema obsahu MadCompie
I open a XML file and but does not automatically load as UTF-8 because the file
is too big (special chars at the end of the file).
So I set the coding to "UTF-8" and used the trick "reload".
This works very fine!
But when I change the same file using another program (also UTF-8 encoded) and
do a save, PSPad detects automatically this file change and does a reload... but
the reload is not in my UTF-8 choice anymore but in the original format, so the
external changes are lost...

-- 

PSPad freeware editor https://www.pspad.com


Re: FTP home directory [70360]

2018-06-18 Tema obsahu MadCompie
pspad:

Put dir1/subdir1/ 
don't include first slash



This works too but the problem remains the same.

If I save the file, it will be saved in the correct path but 
the middle FTP section is not refreshed with these contents... 

Example:

server A:/dirA/subdirA/fileA
server B:/dirB/subdirB/fileB

open fileA : connection to server A + display A
open fileB : connection to server B + display B
save fileA : connection to server A + display A
save fileB : connection to server B + display A (? not B ?)

I must define /dirB for server B and then it works
But when I define /dirB/subDirB the refresh of the dir won't work...

(P.S. In my case I can't use the /home directory...)

-- 

PSPad freeware editor https://www.pspad.com


Re: FTP home directory [70359]

2018-06-18 Tema obsahu MadCompie
pspad:

Put dir1/subdir1/ 
don't include first slash



This works too but the problem remains the same.

If I save the file, it will be saved in the correct path but 
the middle FTP section is not refreshed with these contents... 

Example:

server A:/dirA/subdirA/fileA
server B:/dirB/subdirB/fileB

open fileA --> connection to server A + display A
open fileB --> connection to server B + display B
save fileA --> connection to server A + display A
save fileB --> connection to server B + display A (? not B ?)

I must define /dirB for server B and then it works
But when I define /dirB/subDirB the refresh of the dir won't work...

(P.S. In my case I can't use the /home directory...)

-- 

PSPad freeware editor https://www.pspad.com


Re: FTP home directory [70358]

2018-06-18 Tema obsahu MadCompie
pspad:

Put dir1/subdir1/ 
don't include first slash



This works too but the problem remains the same.

If I save the file, it will be saved in the correct path but 
the middle FTP section is not refreshed with these contents... 

Example:

server A:/dirA/subdirA/fileA
server B:/dirB/subdirB/fileB

open fileA --> connection to server A + display A
open fileB --> connection to server B + display B
save fileA --> connection to server A + display A
save fileB --> connection to server B + display A (? not B ?)

I must define /dirB for server B and then it works
But when I define /dirB/subDirB the refresh of the dir won't work...

-- 

PSPad freeware editor https://www.pspad.com


FTP home folder [70354]

2018-06-15 Tema obsahu MadCompie
When I login to my FTP account, there is a default home directory.

cite:

example: /dir1/subdir1/

But when I leave distance folder empty in PSPad FTP settings, PSPad assumes that
the start directory is the root / ...

When I enter the real location /dir1/subdir1/ in distance folder then FTP list
is ok... I can open a file, example "test.htm" ... meanwhile I switch to another
FTP account...
then I want to save back "test.htm" : the FTP opens again BUT ... the contents
of the FTP windows are not refreshed.

Very strange, my file /dir1/subdir1/test.htm is saved well but not visible in
the FTP window.

If I set the start directory to /dir1 instead of /dir1/subdir1 then it works?
Only problem now is that after a connection the contents of /dir1 are showed
instead of 
/dir1/subdir1/


I'm not sure but I think that there must be an extra test after connecting: when
no initial directory given, do not assume the / root as home folder.
Perhaps adding an extra PWD command and moving the result to this initial
directory...

-- 

PSPad freeware editor https://www.pspad.com


FTP home directory [70350]

2018-06-15 Tema obsahu MadCompie
When I login to my FTP account, there is a default home directory.

example: /dir1/subdir1/

But when I leave "distance folder" empty in PSPad FTP settings, PSPad assumes
that the start directory is the root "/"...

When I enter the real location "/dir1/subdir1/" in "distance folder" then FTP
list is ok... I can open a file, example "test.htm" ... meanwhile I switch to
another FTP account...
then I want to save back "test.htm" : the FTP opens again BUT ... the contents
of the FTP windows are not refreshed.

Very strange, my file "/dir1/subdir1/test.htm" is saved well but not visible in
the FTP window.

If I set the start directory to "/dir1" instead of "/dir1/subdir1" then it
works?
Only problem now is that after a connection the contents of "/dir1" are showed
instead of "/dir1/subdir1"/

I'm not sure but I think that there must be an extra test after connecting: when
no initial directory given, do not assume the "/" root as home folder.
Perhaps adding an extra PWD command and moving the result to this initial
directory...

-- 

PSPad freeware editor https://www.pspad.com


FTP home folder [70352]

2018-06-15 Tema obsahu MadCompie
When I login to my FTP account, there is a default home directory.

example: /dir1/subdir1/

But when I leave "distance folder" empty in PSPad FTP settings, PSPad assumes
that the start directory is the root "/"...

When I enter the real location "/dir1/subdir1/" in "distance folder" then FTP
list is ok... I can open a file, example "test.htm" ... meanwhile I switch to
another FTP account...
then I want to save back "test.htm" : the FTP opens again BUT ... the contents
of the FTP windows are not refreshed.

Very strange, my file /dir1/subdir1/test.htm is saved well but not visible in
the FTP window.

If I set the start directory to "/dir1" instead of "/dir1/subdir1" then it
works?
Only problem now is that after a connection the contents of "/dir1" are showed
instead of "/dir1/subdir1"/

I'm not sure but I think that there must be an extra test after connecting: when
no initial directory given, do not assume the "/" root as home folder.
Perhaps adding an extra PWD command and moving the result to this initial
directory...

-- 

PSPad freeware editor https://www.pspad.com


FTP home folder [70351]

2018-06-15 Tema obsahu MadCompie
When I login to my FTP account, there is a default home directory.

example: /dir1/subdir1/

But when I leave "distance folder" empty in PSPad FTP settings, PSPad assumes
that the start directory is the root "/"...

When I enter the real location "/dir1/subdir1/" in "distance folder" then FTP
list is ok... I can open a file, example "test.htm" ... meanwhile I switch to
another FTP account...
then I want to save back "test.htm" : the FTP opens again BUT ... the contents
of the FTP windows are not refreshed.

Very strange, my file "/dir1/subdir1/test.htm" is saved well but not visible in
the FTP window.

If I set the start directory to "/dir1" instead of "/dir1/subdir1" then it
works?
Only problem now is that after a connection the contents of "/dir1" are showed
instead of "/dir1/subdir1"/

I'm not sure but I think that there must be an extra test after connecting: when
no initial directory given, do not assume the "/" root as home folder.
Perhaps adding an extra PWD command and moving the result to this initial
directory...

-- 

PSPad freeware editor https://www.pspad.com


Re: FTP grouping [70130]

2018-04-20 Tema obsahu MadCompie
Cool! B-]

-- 

PSPad freeware editor https://www.pspad.com


FTP grouping [70116]

2018-04-16 Tema obsahu MadCompie
I was wondering if it could be possible to add some kind of grouping in the FTP
clients window? (ex. like FileZilla)

-- 

PSPad freeware editor https://www.pspad.com


Re: UTF-8 [70058]

2018-03-29 Tema obsahu MadCompie
pspad:

PSPad search only forst about 20 000 chars. Not whole milions of chars
document.


I thought so, no problem... for me I can solve this problem by adding some dummy
text with a UTF-8 char at the beginning of the file!
Thx for clearing this up!

-- 

PSPad freeware editor https://www.pspad.com


Re: UTF-8 [70054]

2018-03-28 Tema obsahu MadCompie
hhoefling:

Me to :-)

Or... 
allways use any char>128 in the first lines. 
Maybee in an comment on top



That is exactly what I do... at the beginning of the file:


After, it will be recognized as UTF-8.
But without that, AND WITH some char é in the middle of the file, it will not
be
recognized.
So I think that PSPad does not search the whole document for special chars,
probably for speed reasons?

-- 

PSPad freeware editor https://www.pspad.com


Re: UTF-8 [70009]

2018-03-21 Tema obsahu MadCompie
What a great tip, thx!
Yes indeed that does the job.
But I wonder why some files (all with NO-BOM) open as UTF-8 and other still
not...
This even after doing the conversion + save as UTF-8 NO BOM.
Anyway, thanks to your tip it's much easier to go on!

-- 

PSPad freeware editor https://www.pspad.com


UTF-8 [70001]

2018-03-18 Tema obsahu MadCompie
Hello, sometimes a file can't be detected as UTF-8 I don't know why. Even after
forcing as UTF-8 & save. Firstly, I must disable autodetect and choose UTF8.
When opening the file it's ok.
But when I close everything and enable autodetect + default codepage ansi, the
same page can't be loaded as UTF-8.
Should it be possible to associate a file extension with a certain codepage?
Exemple: always open .xslt files in UTF-8 format. In that case, autodetection
should be overruled.

-- 

PSPad freeware editor https://www.pspad.com


Re: PSPad unicode 5.0.0 (207) English [68822]

2017-05-15 Tema obsahu MadCompie
sandrosilveira:

MadCompie:

srce:

It looks like the red marker in the file tabs that indicates if a file has
unsaved changes no longer works correctly. Sometimes when closing files, the
marker appears on files that have no changes. When selecting that file, the
marker then disappears. It's not obvious how to reproduce it, but I believe I've
seen it a few times.


I also encoutered this... very often the red marker appears in the first tab
(always?) while the source was not modified... I also tried to remember why/when
but did not find the cause yet...



Hi Jan, 

To simulate this (5.0.0 203):

- Open 5 files
- Modify something in the 5th file
- Click the 2nd file tab
- Close file using CTRL+F4

The red marker are show incorrectly in 2nd tab...

Sandro


Thx Sandro, I can now simulate this too with this build 207:
- open some (5?) files 
- modify the 2nd file
- click the last file tab
- close this file

the red marker appears now in my first tab...

-- 
<http://forum.pspad.com/read.php?6,68815,68822>
PSPad freeware editor http://www.pspad.com


Re: PSPad unicode 5.0.0 (204) English [68769]

2017-05-10 Tema obsahu MadCompie
srce:

It looks like the red marker in the file tabs that indicates if a file has
unsaved changes no longer works correctly. Sometimes when closing files, the
marker appears on files that have no changes. When selecting that file, the
marker then disappears. It's not obvious how to reproduce it, but I believe I've
seen it a few times.


I also encoutered this... very often the red marker appears in the first tab
(always?) while the source was not modified... I also tried to remember why/when
but did not find the cause yet...

-- 

PSPad freeware editor http://www.pspad.com


Re: PSPad unicode 5.0.0 (191) English [68730]

2017-05-05 Tema obsahu MadCompie
In the meanwhile...again a month further with this new version.
Still very stable for us, no more memory fault errors and all our VB scripts
still work like a charm!
Good job!

-- 

PSPad freeware editor http://www.pspad.com


Re: PSPad unicode 5.0.0 (191) English [68729]

2017-05-05 Tema obsahu MadCompie
Not sure what the behaviour was before but:
Suppose we have a line with a string:

This is a line which contains "some kind of a string" within quotes.

If we select the part *string *(by doubleclicking it) and the we use
[Ctrl+Shift+Right] the selection expands just before the word "within".

Would it not be better to also stop the selection after encountering a quote? So
not only whitespace...

-- 

PSPad freeware editor http://www.pspad.com


Re: PSPad unicode 5.0.0 (171) English [68469]

2017-04-04 Tema obsahu MadCompie
While using this build 5 for a week now I did not receive "memory access
violation" messages & terminations anymore... good news!!!

-- 

PSPad freeware editor http://www.pspad.com


Re: PSPad unicode 5.0.0 (163) English [68466]

2017-04-03 Tema obsahu MadCompie
pspad:

MadCompie:

I did not know we could use a different tab color per type of file, very cool!
But there was a problem using the "multi-highlighter" setting: tab color can be
set for javascript and for html but not for the multi-hightlighter.

So what did I do? I created a new tag "MultiFiletabColor=16768392" in the
section [Config]... nothing happened...
But after close & re-open PSP : eureka!

THAT WORKS!




I am afraid I must disappoint you. You can add any option you want, but PSpad
won't read and apply it, cause it doesn't know it.
Color you see on the HTML multihighlighter tab is taken from Highlighter
settings / HTML highlighter (or XHTML highlighter if it is set as
Multihighlighter base)



OK! I see the tag disappeared in the INI file. The tab color is set because of
my settings in HTML of Javascript: it was applicable after restart of PSP.
SO, not disappointed since this was the behaviour that I wanted!

-- 
<http://forum.pspad.com/read.php?6,68392,68466>
PSPad freeware editor http://www.pspad.com


Re: PSPad unicode 5.0.0 (163) English [68441]

2017-03-31 Tema obsahu MadCompie
I was wondering if it could be possible with this new version to also access
remote files with SFTP (like putty,...)?

-- 

PSPad freeware editor http://www.pspad.com


Re: PSPad unicode 5.0.0 (163) English [68440]

2017-03-31 Tema obsahu MadCompie
I did not know we could use a different tab color per type of file, very cool!
But there was a problem using the "multi-highlighter" setting: tab color can be
set for javascript and for html but not for the multi-hightlighter.

So what did I do? I created a new tag "MultiFiletabColor=16768392" in the
section [Config]... nothing happened...
But after close & re-open PSP : eureka!

THAT WORKS!

-- 

PSPad freeware editor http://www.pspad.com


Re: PSPad unicode 5.0.0 (122) English [68222]

2017-03-15 Tema obsahu MadCompie
THX!

pspad:

MadCompie:

hello,
I have a little issue with this version :
when opening the file Plugins\FileType\ReadMe.txt, the filename is converted
into a lot of some kind of Chinese characters...
This was while double-clicking on this file in Explorer. When dragging this file
thru PSPad the filename is correct



Hello

This is caused but using old and new PSPad together.
You have old PSpad associated in Windows Explorer but you use new PSPad. When
you click on file, Windows starts old PSpad with parameter and old PSPad sends
file as ANSI name to new PSpad what awaits Unicode parameter. 

Go to program settings / System integration, select integration method to
registry and back to DLL and confirm.



-- 
<http://forum.pspad.com/read.php?6,68202,68222>
PSPad freeware editor http://www.pspad.com


Re: PSPad unicode 5.0.0 (122) English [68213]

2017-03-14 Tema obsahu MadCompie
hello,
I have a little issue with this version :
when opening the file Plugins\FileType\ReadMe.txt, the filename is converted
into a lot of some kind of Chinese characters...
This was while double-clicking on this file in Explorer. When dragging this file
thru PSPad the filename is correct

-- 

PSPad freeware editor http://www.pspad.com


Re: PSPad unicode 4.6.2 (2745) English [67909]

2017-02-12 Tema obsahu MadCompie
Me too... very often ... once a day... once a week but very annoying
i also use it on win7 64b:-(

-- 

PSPad freeware editor http://www.pspad.com


Re: PSPad unicode 4.6.2 (2745) English [67899]

2017-02-10 Tema obsahu MadCompie
ftp year = cool! thx!

-- 

PSPad freeware editor http://www.pspad.com


Re: PSPad unicode 4.6.1 (2716) English [66841]

2016-03-28 Tema obsahu MadCompie
The sort parameter for the scripts menu works fine!
Thx!

-- 

PSPad freeware editor http://www.pspad.com


Re: PSPad unicode 4.6.1 (2707) English [66551]

2016-02-06 Tema obsahu MadCompie
I think, the sort should happen between the given dividers (if any)
Example:
A1
B1
C1
D1
---
A2
B2
C2
D2
---
A3
B3
C3

Now with the new version this is:
A1
A2
A3
B1
B2
B3
C1
C2
C3
D1
D2

-- 

PSPad freeware editor http://www.pspad.com


Re: PSPad unicode 4.6.1 (2707) English [66512]

2016-01-25 Tema obsahu MadCompie
This release now sorts all scripts alphabetically (= a good thing) but it does
not preserve the menu dividers...

addMenuItem "-", menuItem, "", "" 'Menu divider not shown anymore...

-- 

PSPad freeware editor http://www.pspad.com


Re: Text diff usage [64911]

2015-04-16 Tema obsahu MadCompie
My apologies _toralf_, of coarse I don't mind!

Here you go :

copy the following code snippet into some file diffmerge.vbs into the PSP
subfolder script\VBScript :


Const module_name  = DiffMerge
Const module_ver   = 1.00

newFilename = 
oldFilename = 

Sub setNewFile
If (editorsCount = 0) Then
  Exit Sub
End If  
logClear()
Set editor = newEditor()
editor.assignActiveEditor
newFilename = editor.fileName
logAddLine(Diff choose NEW filename:  newFilename)
End Sub
Sub setOldFile
If (editorsCount = 0) Then
  Exit Sub
End If  
Set editor = newEditor()
editor.assignActiveEditor
oldFilename = editor.fileName
logAddLine(Diff choose OLD filename:  oldFilename)
End Sub
Sub doCompare
If (editorsCount = 0) Then
  Exit Sub
End If
'execute DiffMerge (64-bit)  
Set SH = Wscript.CreateObject(WScript.Shell)
pspadDirectory = FileSystem.getPSPadDir()
logAddLine()
logAddLine(Comparing )
logAddLine((NEW)   newFilename)
logAddLine((OLD)   oldFilename)
SH.Run   C:\Program Files\DiffMerge\sgdm.exe newFilename
oldFilename ,1,1
'always select the 2nd file after comparison...
Set editor = newEditor()
editor.assignEditorByName(oldFilename)
editor.activate

End Sub

Sub EditMe
Set editor = newEditor()
editor.openFile(moduleFileName(module_name))
End Sub

'
--
'   Default module subroutines.
'
--

' Init is required
' It is called automatically during initialization to create menu items.
Sub Init
menuName =   module_name
addMenuItem Diff choose NEW,menuName, setNewFile, Alt+F1
addMenuItem Diff choose OLD,menuName, setOldFile, Alt+F2
addMenuItem Diff NEW-OLD,menuName, doCompare, Ctrl+Alt+c
addMenuItem -, menuName, ,  'Menu divider
addMenuItem Edit   module_name  !, menuName, EditMe
End Sub


Then restart PSP : in the scripts menu there should be a new entry called
DiffMerge...

Now to compare any two files :
(viz http://users.telenet.be/compie/20150416-PSPad-DiffMerge.jpg )

So don't matter how many files are open, I always compare new file(on the left)
to the old file (on the right) : because changes are done in DiffMerge from left
to right.

Hope this is helpful?

-- 
http://forum.pspad.com/read.php?2,64632,64911
PSPad freeware editor http://www.pspad.com


Re: SSH [64888]

2015-04-15 Tema obsahu MadCompie
This works indeed. I do the same thing with Filezilla.
If integrated in PSP it would save a lot of clicks and confirmations, just a
simple [Ctrl+S] would do the job!

-- 
http://forum.pspad.com/read.php?2,64784,64888
PSPad freeware editor http://www.pspad.com


Re: How to make PSPad check if the open file is changed [64889]

2015-04-15 Tema obsahu MadCompie
I forgot to mention that my files are opened thru FTP.
So, after doing a diff (I use DiffMerge), PSP asks me if
I want to take over the changes.
This is a good thing, but because I opened the file with FTP, the file with the
changes is not the file on FTP but a temporary file in my Windows temp folder.
Only when I press Ctrl+S (SAVE), the file with the changes will be saved to
FTP!
I believe PSP does not show the indication that the contents are changed because
the temporary file is saved!
Could it be possible to display the notification until the file is really saved
to FTP? (don't know if this is technically possible in an easy way...)

-- 
http://forum.pspad.com/read.php?2,64347,64889
PSPad freeware editor http://www.pspad.com


  1   2   >