Page 1 of 1

Option to treat \r and \n differently

Posted: Tue Jan 29, 2019 2:34 am
by akel145
Is there a way to make AkelPad treat \r and \n differently the way most text editors do (i.e. \r\n is one line not two)?

I have many regex patterns saved within self-made step-by-step guides and I would like not to have to keep two version one for AkelPad and one for the other text editors.

The \x## method would put me in the same bind (having to duplicate the guides/steps).

Thank you. :)

Re: Option to treat \r and \n differently

Posted: Tue Jan 29, 2019 9:14 am
by YuS
akel145 wrote:Is there a way to make AkelPad treat \r and \n differently the way most text editors do (i.e. \r\n is one line not two)?
AkelHelp-Eng.htm wrote:\n Matches any newline. To match Unix newline character use '\x0a'.
\r Matches any newline. To match Mac newline character use '\x0d'.

Posted: Tue Jan 29, 2019 6:52 pm
by akel145
Unfortunately, this won't help my case.

As I said:
The \x## method would put me in the same bind (having to duplicate the guides/steps).
AkelPad is very customizable; so I thought there is probably a way to do that.

Thanks.