Highlighting text to add number format reveals issue

Bug #1789024 reported by Mike Hauss on 2018-08-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

This is zim 0.67
Platform: posix
Locale: en_US UTF-8
FS encoding: UTF-8
Python: (2, 7, 5, 'final', 0)
Gtk: (2, 24, 31)
Pygtk: (2, 24, 0)
No bzr version-info found

======= Traceback =======
  File "/usr/lib/python2.7/site-packages/zim/actions.py", line 157, in do_activate
    self.__get__(instance, instance.__class__)()
  File "/usr/lib/python2.7/site-packages/zim/actions.py", line 140, in func
    self.func(instance, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/zim/gui/pageview.py", line 6032, in apply_format_numbered_list
  File "/usr/lib/python2.7/site-packages/zim/gui/pageview.py", line 6041, in _apply_bullet
    buffer.foreach_line_in_selection(buffer.set_bullet, bullet_type)
  File "/usr/lib/python2.7/site-packages/zim/gui/pageview.py", line 1946, in foreach_line_in_selection
    func(line, *args, **kwarg)
  File "/usr/lib/python2.7/site-packages/zim/gui/pageview.py", line 1241, in set_bullet
    indent = self.get_indent(line)
  File "/usr/lib/python2.7/site-packages/zim/gui/pageview.py", line 1747, in get_indent
    assert len(tags) == 1, 'BUG: overlapping indent tags'
AssertionError: BUG: overlapping indent tags

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers