You are here: PSPad forum > Bug report / Hlášení chyb > Re: Undesired asterisk added when pressing Return
Posted by: AndreasW | Date: 2017-08-16 09:52 | IP: IP Logged
Copy & paste the following code into a new text file or C++ file:
func(*ptr1,
*ptr2,*ptr3);
Then put the cursor upon the asterisk before ptr3 and press Return.
Desired result:
func(*ptr1,
*ptr2,
*ptr3);
Actual result:
func(*ptr1,
*ptr2,
**ptr3);
Tested with PSPad 5.0.0 build 243
Posted by: vbr | Date: 2017-08-16 12:07 | IP: IP Logged
Hi,
I believe, you can change the appropriate settings in:
Program settings :: Direct edit: Special settings
ContinueComment=0
It might be complicated, if you want this function active for actual comments and somehow special-case such usage; i'm not sure it would be currently possible.
hth,
vbr
Posted by: AndreasW | Date: 2017-08-16 14:45 | IP: IP Logged
Thank you, vbr. I've tried the workaround you've described, and it works. For me, this workaround is acceptable.
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