Nasller / CodeGlancePro

Minimap run on jetbrains platform.
Apache License 2.0
201 stars 22 forks source link

[BUG] LOG file type has incorrect lines #69

Closed kotofos closed 1 year ago

kotofos commented 1 year ago
  1. Which Glance version and IDEA version? 1.5.9 PyCharm 2022.3.1 Build #PY-223.8214.51, built on December 20, 2022

  2. Could you show Glance config picture and minimap picture? image

image

  1. What steps will reproduce the issue? Open a .log file (pytest log file in my case) It must be detected as log file type by pycharm. Plain text is ok. test.log

  2. Expected When file is text type then it looks ok image

Nasller commented 1 year ago

look likes soft wrap error

kotofos commented 1 year ago

The soft wrap was disabled. Enabling and disabling soft wrap does not fix it. Minimap looks slightly different when the soft wrap is enabled for log files. Enabling soft wrap on text-type files works ok.

Nasller commented 1 year ago

i see,let me debug this

Nasller commented 1 year ago

image which type is you selected?

Nasller commented 1 year ago

i download ideolog jetbrains plugin.and it see ok image

Nasller commented 1 year ago

i know.This is the ideolog plugin bugs. because the LogHighlightingIterator doesnt give me the \n text.so it will see like this. image

Nasller commented 1 year ago

CodeGlance Pro-1.6.0-SNAPSHOT.zip try this

kotofos commented 1 year ago

This worked, thx. Now it looks like this: (it was green before fix too) image Is it suppose to have green background? It is green only for log files.

kotofos commented 1 year ago

Ah, got it. It is coming from the IDE itself, b/c scrollbar is green too.

Nasller commented 1 year ago

Ah, got it. It is coming from the IDE itself, b/c scrollbar is green too.

yes,this green error line comes from ideolog, and there is a configuration to control its switch, from Advanced error stripe (heat map)

kotofos commented 1 year ago

Ok, thx, this can be closed.