You are here: PSPad forum > Bug report / Hlášení chyb > Error opening files

Error opening files

#1 Error opening files

Posted by: Zmy | Date: 2020-01-25 05:09 | IP: IP Logged

Hi.
I have set up custom user highlighter for files of type "*.cs", (C#).
When I quickly open many files PSPad very often crashes.
Here are the settings:

[Settings]
Name=C#
HTMLGroup=0
Vectors=0
Label=1
FileType=*.cs
CommentString=
SlashComment=1
CComment=1
SlashComment=1
Preprocessors=1
IndentChar={
UnIndentChar=}
TabWidth=4
CaseSensitive=1
EscString=1
EscChar=\
KeyWordChars=_
CodeExplorer=ftCSharp
DocComment=
[KeyWords]
abstract=
as=
base=
bool=
break=
byte=
case=
catch=
char=
checked=
class=
const=
continue=
decimal=
default=
delegate=
[ReservedWords]
CDDiscTrack=
ProgressCallback=
[KeyWords2]
IScriptable=

[KeyWords3]
ACIDLoopType=
CDOptions=
DWndScrollTo=

Exception class: EComponentError
Exception address: 004DD982
----------------------------------------------------------------------------------------------------
Stack list, generated 25/01/20 7:47:50
[004DD97D] System.Classes.TComponent.ValidateRename + $79
[00661556] Vcl.Forms.TCustomForm.ValidateRename + $16
[004DE118] System.Classes.TComponent.SetName + $58
[006958AD] Vcl.Controls.TControl.GetText + $2D
[00695685] Vcl.Controls.TControl.SetName + $6D
[009FC23C] uMain.TfPSPad.CreateChild (Line 2540, "uMain.pas" + 8) + $20
[00A0236F] uMain.TfPSPad.OpenSynEditFile (Line 4344, "uMain.pas" + 26) + $5
[00A02460] uMain.TfPSPad.OpenSynEditFile (Line 4367, "uMain.pas" + 49) + $1E
[00A11F7B] uMain.TfPSPad.OpenFileByParams (Line 9260, "uMain.pas" + 155) + $A
[00A1253D] uMain.TfPSPad.RestoreFiles (Line 9371, "uMain.pas" + 5) + $5
[00A0D959] uMain.TfPSPad.ProjNew (Line 8113, "uMain.pas" + 50) + $6
[00A0D96E] uMain.TfPSPad.ProjNew (Line 8115, "uMain.pas" + 52) + $10
[009FAB56] uMain.TfPSPad.PSPadInitialize (Line 2072, "uMain.pas" + 49) + $5
[0069713A] Vcl.Controls.TControl.WndProc + $2BE
[0040A054] System.TMonitor.CheckOwningThread + $4
[0069BBEF] Vcl.Controls.TWinControl.WndProc + $63B
[0065E155] Vcl.Forms.ShowMDIClientEdge + $D
[00661D87] Vcl.Forms.TCustomForm.ClientWndProc + $117
[00661BCD] Vcl.Forms.TCustomForm.WndProc + $64D
[0069B1BC] Vcl.Controls.TWinControl.MainWndProc + $2C
[004DF930] System.Classes.StdWndProc + $14
[00691E52] Vcl.Controls.FindControl + $42
[0066B5BB] Vcl.Forms.TApplication.ProcessMessage + $F3
[0066B5FE] Vcl.Forms.TApplication.HandleMessage + $A
[0066B931] Vcl.Forms.TApplication.Run + $C9
[00A47C13] PSPad.PSPad (Line 106, "PSPad.dpr" + 48) + $7
----------------------------------------------------------------------------------------------------
Program : C:\Total\Note\PSPad\PSPad.exe 5.0.3 (360)
System : Windows 7 Professional x32, Version: 6.1, Build: 1DB1, Service Pack 1
Processor: Intel, Pentium(R) Dual-Core CPU E6700 @ 3.20GHz, 3200 MHz MMX
Display : 1440x900 pixels, 32 bpp PPI: 109
----------------------------------------------------------------------------------------------------
Active Controls Hierarchy:
TPSSynEdit "FEditor1"
TfChildEdit "fChildEdit"
----------------------------------------------------------------------------------------------------

Edited 1 time(s). Last edit at 2020-01-25 05:10 by Zmy.

Options: Reply | Quote | Up ^


#2 Re: Error opening files

Posted by: Zmy | Date: 2020-01-25 06:11 | IP: IP Logged

This section from PSPad.INI
[C#]
Filter=C# (*.cs)|*.cs
HLTabWidth=0
HLRealTabs=2
RightEdge=0
IndentChar=
UnIndentChar=
DocComment=
CurrentLine=0
CurrentLineBack=65535
Comment=00408000FF000005010
Identifier=FF000008FF000005000
Key=00FF0000FF000005100
Key words 2=0020209FFF000005100
Key words 3=00BE0FDDFF000005100
Label=000000FFFF000005000
Number=00D90000FF000005000
Preprocessor=00808000FF000005010
Reserved Word=0007786CFF000005100
Space=00808000FF000005000
String=000073E6FF000005100
Symbol=FF000008FF000005000
Compilator File=
Compilator Param=
Compilator LOG=
Compilator Run=
Compilator Help=
Compilator SaveAll=0
Compilator ParsLog=
Compilator Capture=0
Compilator CompileOnBackground=0
Compilator ProgSaveAll=0
Compilator ProgRunSelection=0
Compilator DefaultDir=
Compilator LogType=0

Options: Reply | Quote | Up ^


#3 Re: Error opening files

Posted by: pspad | Date: 2020-01-25 08:09 | IP: IP Logged

Thank you for report.
This is joined with creating new editor windows very fast. I will investigate it and made some modification to prevent this problem.

Can you tell me how do you open your files? From PSPad or from Windows explorer? Is PSPad integrated as DLL kontext handler or do you use integration with registry? You will recoginze it that in explroer context menu are icons or not.

Options: Reply | Quote | Up ^


#4 Re: Error opening files

Posted by: pspad | Date: 2020-01-25 10:04 | IP: IP Logged

I think I found a problem and fixed it. Wait for new build please.

Options: Reply | Quote | Up ^


#5 Re: Error opening files

Posted by: Zmy | Date: 2020-01-25 10:27 | IP: IP Logged

pspad:
Can you tell me how do you open your files? From PSPad or from Windows explorer?

No, I open them from Total Commander.

Command=C:\Total\Note\PSPad\PSPad.exe
Parameteres=%P%S

Options: Reply | Quote | Up ^


#6 Re: Error opening files

Posted by: pspad | Date: 2020-01-25 10:29 | IP: IP Logged

I think I have found a place what causes problem. I hope next build will be OK.

Options: Reply | Quote | Up ^






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