Re: Error and fewer functions (HEX editor) [71060]

2019-02-11 Tema obsahu Jan Fiala
Your PSPad version?
Please send me log into support mail, there is a chance I will be able localize
problem from it.

-- 

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


Error and fewer functions (HEX editor) [71059]

2019-02-11 Tema obsahu jpietras
_An attempt to copy a fragment from a binary file._
After which the application turns off.
It is turned off every time, the error is repetitive 100 by 100.

cite:

Access violation at address 77A135CE in module 'ntdll.dll'. Read of
address 
00300030.

cite:

Exception description:


Access violation at address 00405A95 in module 'PSPad.exe'. Read of address
FFF4.

Exception class: EAccessViolation
Exception address: 00405A95


Stack list, generated 12/02/2019 07:09:05
[00405A95] System.SysGetMem + D
[00409DF1] System.TObject.FieldAddress + 
[00406F64] System.@GetMem + 
[004095E6] System.TObject.NewInstance + $A
[00409E07] System.@ClassCreate + 
[0040974F] System.TObject.Create + 
[00523B0F] Vcl.Graphics.TBitmap.NewImage + 
[005242C8] Vcl.Graphics.TBitmap.SetHandle + C
[006457FF] Vcl.ImgList.TCustomImageList.InitBitmap + 
[005228A7] Vcl.Graphics.TBitmap.Create + B
[00645782] Vcl.ImgList.TCustomImageList.Initialize + E



[b]When selecting the hex value, it no longer shows their value or the length of
the selected fragment on the lower bar.[/b]

Please, improve the Hex editor because can not use it at this time.

-- 

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


Re: javascript pspad problem [71058]

2019-02-11 Tema obsahu Vlastimil Brom
Gabriel_ACE:

hi!

I m trying to execute this sentence

var oneFile = moreFiles.item();
var n = oneFile.search(".sel");
echo(n);

but pspad don't like "search"

idem for "includes" 

var oneFile = moreFiles.item();
var n = oneFile.includes(".sel");
echo(n);


I don't understand which is the problem



Hi,
it is difficult to find the cause of this problem without the rest of the code,
but there are some possibilities.

The type of the objects in questions is important - I believe, search is a
string method and performs a regex search; it most likely is not available e.g.
in an array.

incudes is an array method, but it might not be supported in all javascript
engines, e.g. MS Explorer; I thing PSPad uses this browser for WSH scripting
javascript, if it is present.
Could you possibly use indexOf in your code? (this seems more general and  more
widely available).

hth,
   vbr

-- 

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


Re: javascript pspad problem [71057]

2019-02-11 Tema obsahu Jan Fiala
What does mean "pspad doesn't like search"?

-- 

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


javascript pspad problem [71056]

2019-02-11 Tema obsahu Gabriel ACE
hi!

I m trying to execute this sentence

var oneFile = moreFiles.item();
var n = oneFile.search(".sel");
echo(n);

but pspad don't like "search"

idem for "includes" 

var oneFile = moreFiles.item();
var n = oneFile.includes(".sel");
echo(n);


I don't understand which is the problem

-- 

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