-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
CnPack's text colorizer is painting the text incorrectly #200
Comments
It's a very old bug, since the time of XE... |
How often does it occurs? We also saw it before but can reproduce when debugging and fixing. |
The painting error occurs randomly. |
We make some fix to re-calc editor control gutter width when it pos-changed to paint at the correct X position. Could you download our latest nightly-build 1194 to check this problem for some while again? |
Cool! |
Oh, do you also use D12.1? Could you give me an email? I'll send a DLL with some debug information to record some traces for investigation? |
CnWizards_D120A.zip Thanks. |
yes, |
I send a newer DLL to you, please check it. |
Sorry, I didn't receive your email with the DLLs, compress the files using ,zip or .7z |
See. We found the root cause, there's a hard issue now we can't handle: |
Hi Cnpack/cnwizards,
Thank you for the follow up. Appreciated.
My first thought was a settable delay for the painting. That way the editor could finish its antics and then the code 'painted'.
Regards,
Ian
The Programmer's Credo: We do these things not because they are easy, but because we thought they were going to be easy... ***@***.*** - 05/08/2016)
From: CnPack Team ***@***.***>
Sent: Sunday, August 4, 2024 8:54 AM
To: cnpack/cnwizards ***@***.***>
Cc: ijbranch ***@***.***>; Comment ***@***.***>
Subject: Re: [cnpack/cnwizards] CnPack's text colorizer is painting the text incorrectly (Issue #200)
See. We found the root cause, there's a hard issue now we can't handle:
The editor will suddenly change its "gutter width" a few seconds later for unknown reason after opening a new file.
Though we need only a repainting to resolve this painting problem, we don't known when to do it, for the change has no notification or hook chance.
-
Reply to this email directly, view it on GitHub<#200 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABEPZPN75UH6RH4HVCAW433ZPVNPBAVCNFSM6AAAAABJGZ6GBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRXGE4DCMZUGY>.
You are receiving this because you commented.Message ID: ***@***.******@***.***>>
|
In fact we've already do this in our latest nightly-build version, a delay about 1000 ms for repainting but no obvious effect. It comes randomly. |
Hi Cnpack/cnwizards,
OK. Tks. All efforts appreciated.
Regards,
Ian
The Programmer's Credo: We do these things not because they are easy, but because we thought they were going to be easy... ***@***.*** - 05/08/2016)
From: CnPack Team ***@***.***>
Sent: Sunday, August 4, 2024 9:34 AM
To: cnpack/cnwizards ***@***.***>
Cc: ijbranch ***@***.***>; Comment ***@***.***>
Subject: Re: [cnpack/cnwizards] CnPack's text colorizer is painting the text incorrectly (Issue #200)
In fact we've already do this in our latest nightly-build version, a delay about 1000 ms for repainting but no obvious effect. It comes randomly.
-
Reply to this email directly, view it on GitHub<#200 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABEPZPJYR5BNWC5WBIU5SDTZPVSFLAVCNFSM6AAAAABJGZ6GBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRXGE4TMNJUGA>.
You are receiving this because you commented.Message ID: ***@***.******@***.***>>
|
Hi Cnpack/cnwizards,
FYI - I just downloaded and installed:
***@***.***
Testing it on a few Apps, I don't see the issue anymore.
Previously it happened every time. It may still happen, as you say, randomly, but it is much better now.
Regards & Tks,
Ian
The Programmer's Credo: We do these things not because they are easy, but because we thought they were going to be easy... ***@***.*** - 05/08/2016)
From: CnPack Team ***@***.***>
Sent: Sunday, August 4, 2024 9:34 AM
To: cnpack/cnwizards ***@***.***>
Cc: ijbranch ***@***.***>; Comment ***@***.***>
Subject: Re: [cnpack/cnwizards] CnPack's text colorizer is painting the text incorrectly (Issue #200)
In fact we've already do this in our latest nightly-build version, a delay about 1000 ms for repainting but no obvious effect. It comes randomly.
-
Reply to this email directly, view it on GitHub<#200 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABEPZPJYR5BNWC5WBIU5SDTZPVSFLAVCNFSM6AAAAABJGZ6GBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRXGE4TMNJUGA>.
You are receiving this because you commented.Message ID: ***@***.******@***.***>>
|
OK. Yes, it is still happening.. ☹
Hi Cnpack/cnwizards,
FYI – I just downloaded and installed:
***@***.***
Testing it on a few Apps, I don’t see the issue anymore.
Previously it happened every time. It may still happen, as you say, randomly, but it is much better now.
Regards & Tks,
Ian
The Programmer’s Credo: We do these things not because they are easy, but because we thought they were going to be easy… ***@***.*** - 05/08/2016)
From: CnPack Team ***@***.***>
Sent: Sunday, August 4, 2024 9:34 AM
To: cnpack/cnwizards ***@***.***>
Cc: ijbranch ***@***.***>; Comment ***@***.***>
Subject: Re: [cnpack/cnwizards] CnPack's text colorizer is painting the text incorrectly (Issue #200)
In fact we've already do this in our latest nightly-build version, a delay about 1000 ms for repainting but no obvious effect. It comes randomly.
—
Reply to this email directly, view it on GitHub<#200 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABEPZPJYR5BNWC5WBIU5SDTZPVSFLAVCNFSM6AAAAABJGZ6GBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRXGE4TMNJUGA>.
You are receiving this because you commented.Message ID: ***@***.******@***.***>>
|
CnPack's text colorizer is painting the text incorrectly and is overwriting the IDE's default text incorrectly.
Painting issue occurs in Delphi 11 and Delphi 12 and possibly earlier versions
see the print below.
The text was updated successfully, but these errors were encountered: