Nasller / CodeGlancePro

Minimap run on jetbrains platform.
Apache License 2.0
211 stars 21 forks source link

[BUG] Multiple C# #region markers do not render when under collapsed regions #150

Open CAZ-H opened 1 month ago

CAZ-H commented 1 month ago
  1. Which Glance version and IDEA version? Rider - 2024.2.4 - Build #RD-242.21829.210 CodeGlance - 1.9.1

  2. Can you show the complete config page picture and minimap picture? Uncollapsed, working: image Collapsed, broken: image

image

  1. What is the file type used and provide text or an example of the issue that occurred? C# source, extension is .cs

  2. What steps will reproduce the issue? Any two consecutive regions in C# will render in the minimap. The second one will stop rendering when the first one is collapsed.


Related to https://github.com/Nasller/CodeGlancePro/issues/79 - Thanks again for this feature!

Nasller commented 1 month ago

It is inevitable that one of the two close marks will be overwritten.

CAZ-H commented 1 month ago

So this is a technical limitation of the system and there is no way to avoid this? Is the technical reason why simple enough to explain?

Nasller commented 1 month ago

sorry,at present,yes. Because the height ratio of the pixel is fixed to the height of the editor, if you want to show the folded mark, the whole minimap must be lengthened, so that the proportion will be wrong, thus affecting other functions.