I would dearly like to have psPAD as my default text editor, but I have a major
bug that is causing me to have to keep to notepad.

The issue I have occurs when I attempt to save a file.  It is only about one
time in 10 that this occurs, but this is sufficiently serious to make it
unusable to me.

Sometimes it happens as I click on the File menu, other times it will occur when
I click on the Save item of the File menu.  Othertimes it will occur as I press
Alt+F (in an attempt to use the keyboard to open the file menu).

What I recieve is an error message, that leaves me no choice but to close down
psPAD (thus loosing all my work).

I am running Windows ME (I know that this is not the best OS in the world, but
it's a fairly old Laptop, and everything else, generally seems pretty stable).

The contents of the error message reads.
cite:
--------------------------------------------------------------------------------
Canvas does not allow drawing.

Exception class: EInvalidOperation
Exception address: 004306BA
--------------------------------------------------------------------------------
--------------------
Stack list, generated 30/05/2006 23:18:47
[004306B5] Graphics.TCanvas.RequiredState + $3D
[0043002D] Graphics.TCanvas.FillRect + $15
[00490293] ImgList.TCustomImageList.DoDraw + $D3
[004903FA] ImgList.TCustomImageList.Draw + $42
[004903AC] ImgList.TCustomImageList.Draw + $18
[0049367C] Menus.NormalDraw + $364
[004946A2] Menus.TMenuItem.AdvancedDrawItem + $11A
[0042E458] Graphics.TResourceManager.Unlock + $4
[0042E666] Graphics.TResourceManager.ChangeResource + $66
[0042ECD4] Graphics.TGraphicsObject.Unlock + $8
[0042F8E7] Graphics.TBrush.SetData + $3F
[0049762E] Menus.DrawMenuItem + $DA
[0042F0B1] Graphics.TFont.Assign + $B5
[0048742F] Forms.TCustomForm.WndProc + $22F
[004A1434] Controls.TWinControl.MainWndProc + $2C
[0042C4A0] Classes.StdWndProc + $14
[004A1449] Controls.TWinControl.MainWndProc + $41
[00488A8F] Forms.TCustomForm.DefaultHandler + $4B
[004A2E23] Controls.TWinControl.WMSysCommand + $9F
[00489809] Forms.TCustomForm.WMSysCommand + $55
[0049E758] Controls.TControl.WndProc + $188
[00488A8F] Forms.TCustomForm.DefaultHandler + $4B
[0049E758] Controls.TControl.WndProc + $188
[004A17B7] Controls.TWinControl.WndProc + $157
[00487621] Forms.TCustomForm.WndProc + $421
[004A1434] Controls.TWinControl.MainWndProc + $2C
[0042C4A0] Classes.StdWndProc + $14
[004A1449] Controls.TWinControl.MainWndProc + $41
[0049E758] Controls.TControl.WndProc + $188
[00488A8F] Forms.TCustomForm.DefaultHandler + $4B
[0049EA35] Controls.TControl.WMNCLButtonDown + $15
[00489539] Forms.TCustomForm.WMNCLButtonDown + $85
[0049E758] Controls.TControl.WndProc + $188
[004A17B7] Controls.TWinControl.WndProc + $157
[00487621] Forms.TCustomForm.WndProc + $421
[004A1434] Controls.TWinControl.MainWndProc + $2C
[0042C4A0] Classes.StdWndProc + $14
[0048DD13] Forms.TApplication.ProcessMessage + $83
[0048DD4A] Forms.TApplication.HandleMessage + $A
[0048DF7A] Forms.TApplication.Run + $96
[0069FB61] PSPad.PSPad (Line 62, "I:Delphi7ProjektyPSPadPSPad.dpr" + 35) + $7
--------------------------------------------------------------------------------
--------------------
Program  : C:PROGRAM FILESPSPAD EDITORPSPAD.EXE  4.5.0 (2183)
System   : Windows ME , Version: 4.90, Build: BB8, " "
Processor: Intel, Pentium III, 450 MHz MMX
Display  : 1024x768 pixels, 24 bpp
--------------------------------------------------------------------------------
--------------------
Active Controls Hierarchy:
TPSSynEdit "Editor1"
TfChildEdit "fChildEdit"
--------------------------------------------------------------------------------
--------------------
--------------------------------------------------------------------------------


Any ideas how I can sort this issue out?

-- 
<http://forum.pspad.com/read.php?2,29895,29895>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem