You are here: PSPad forum > English discussion forum > Help with PSPad's wordwrap

Help with PSPad's wordwrap

#1 Help with PSPad's wordwrap

Posted by: EdenZhiweis | Date: 2021-03-31 18:58 | IP: IP Logged

,

I use PSPad as my editor and it has a quirk which is, if the file being edited is larger than certain size, then PSPad can't retain the wordwrap setting. It will be toggled off upon exiting the editor.

Therefore I was thinking of an AHK script with a timer that can check the toggle state on PSPad and turn wordwrap on if necessary.

I have a pseudo-code of sorts but am having trouble translating it into proper AHK code. I would appreciate if someone could assist in this matter.

Options: Reply | Quote | Up ^


#2 Re: Help with PSPad's wordwrap

Posted by: pspad | Date: 2021-03-31 19:10 | IP: IP Logged

Hello

Better than script will be set higher limit for WordWrap.
Currenty the limit is set to 200 000 bytes
If you want to incrase limit, go to program settings / Direct edit button
Set the size to e.g. 500 000

MaxWrapSize=500000

Options: Reply | Quote | Up ^


#3 Re: Help with PSPad's wordwrap

Posted by: EdenZhiweis | Date: 2021-04-01 10:07 | IP: IP Logged

EdenZhiweis:
,

I use PSPad as my editor and it has a quirk which is, if the file being edited is larger than certain size, then PSPad can't retain the wordwrap setting. It will be toggled off upon exiting the editor. 100001.onl

Therefore I was thinking of an AHK script with a timer that can check the toggle state on PSPad and turn wordwrap on if necessary.

I have a pseudo-code of sorts but am having trouble translating it into proper AHK code. I would appreciate if someone could assist in this matter.

issue gt solved

Options: Reply | Quote | Up ^






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