biscuit icon indicating copy to clipboard operation
biscuit copied to clipboard

Multiple indent guides rendered at some indent levels

Open tomlin7 opened this issue 1 year ago • 0 comments

Bug

Multiple indent guides rendered at some indent levels. For example, see the indent level 3 in following screenshot

image

This is either an inconsistency caused by the bitmap used or the code, or tk itself not scaling properly.

Following code manages updation of indent guides

https://github.com/tomlin7/biscuit/blob/c75d59f1fe85981bf36b931190d4dd22a5d3df6b/src/biscuit/editor/text/text.py#L287-L319

The indent guide uses following bitmaps

https://github.com/tomlin7/biscuit/blob/c75d59f1fe85981bf36b931190d4dd22a5d3df6b/src/biscuit/editor/text/text.py#L136-L145

System Information

  • OS: Windows 11
  • Python Version: 3.12.5

tomlin7 avatar Oct 11 '24 18:10 tomlin7