You are here: PSPad forum > Bug report / Hlášení chyb > Re: C/C++ Highlight Issues - Comment is not viewable
Posted by: amarz82 | Date: 2015-10-07 06:11 | IP: IP Logged
Please try the code below with C/C++ setting. When the lenght of the 2nd line hit the border of the editor window, the rest of the comments after that suddenly gone.
#qqaicq aRqMq_Tqqwq(qq)\
/* ---this is documentation.this is documentation.this is documentation.this is documentation.this is documentation.this is documentation.this is documentation.this is documentation.this is documentation.this is documentation.this is documentation.this is documentation.this is documentation.this is documentation.this is documentation.this is documentation.this is documentation.this is documentation.---- */ \
/* this is documentation. */ \
/* this is documentation. */ \
/* this is documentation. */ \
asdf_ ## asdfsdf( asdfaw, qwerewd ),\
asdf_ ## asdfsdf( aasdfs, qwerwws )
Posted by: pspad | Date: 2015-10-07 06:37 | IP: IP Logged
I don't see any problem. Can you send screenshot please?
What is your PSPad version?
Posted by: amarz82 | Date: 2015-11-03 06:40 | IP: IP Logged
I dont know how to attach a screenshot at this forum.
You just need to copy paste the example I provided into an empty C file in PSPAD. Make sure the syntax hightlighting is C/C++. Then try to zoom in/out(press CTRL + Mouse Scroll).
1. Try to zoom to the smallest(until all lines can be fully viewed).
2. Try to zoom out after that(until some of the lines already hit.
Suspect it is related to the usage of "\" to do a next line comment. It doesn't happen if I removed it.
Posted by: pspad | Date: 2015-11-03 06:55 | IP: IP Logged
To insert incture, use any imagehosting and put link here, e.g. imagehosting.com
Here is screenshot from your code:
As I said, I don't see any problem. There is WordWrap on, I guess you have WordWrap mode active too
Posted by: amarz82 | Date: 2015-11-12 08:32 | IP: IP Logged
Here are the screenshot. I had reduced the length of the 1st line of comments to make it more visible.
This one have no problem. All 4 lines of comments are visible.
After zoom in, the 1st comment is wrap to the next line. Suddenly the 2nd, 3rd, and 4th lines are gone.
It happen since several years back, even when using standard theme. Even after testing with your latest release it still happen.
Edited 2 time(s). Last edit at 2015-11-12 08:35 by amarz82.
Posted by: amarz82 | Date: 2016-01-01 18:10 | IP: IP Logged
So are you able to duplicate the same issue that I had showed earlier?
Posted by: AndreasW | Date: 2016-01-01 19:43 | IP: IP Logged
I see the problem too.
Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR