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

Re: 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 ^


#4 Re: Help with PSPad's wordwrap

Posted by: jaspritvid | Date: 2022-10-12 07:35 | IP: IP Logged

anyone know if it's possible to set the word wrap line (on the ruler) to a starting position other than the default one? I really don't like having it start in the middle of the page, and having to set it each time I run PsPad.

Options: Reply | Quote | Up ^


#5 Re: Help with PSPad's wordwrap

Posted by: pspad | Date: 2022-10-12 09:00 | IP: IP Logged

Hello

You can set ruller position in the settings to position you want, in the
Settings / Editor 1 as Position of Right edge

Second possibility is in Settings / Program 1 uncheck Wrap with Right edge and PSpad will wrap lines according to window width

Options: Reply | Quote | Up ^






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