run vr3, errors displayed
Leo Log Window
Leo 6.3-devel, devel branch, build e8319a6
2020-10-10 14:25:04 -0500
Python 3.7.3, PyQt version 5.12.1
darwin
***
Traceback (most recent call last):
File "/Users/swot/app/leo-editor/leo/core/leoPlugins.py", line 322, in callTagHandler
result = handler(tag, keywords)
File "/Users/swot/app/leo-editor/leo/plugins/viewrendered3.py", line 1529, in update
_kind = pc.get_kind(p) or self.default_kind
File "/Users/swot/app/leo-editor/leo/plugins/viewrendered3.py", line 2974, in get_kind
language = self.get_language(p1)
File "/Users/swot/app/leo-editor/leo/plugins/viewrendered3.py", line 3000, in get_language
return colorizer.findFirstValidAtLanguageDirective(p.copy())
AttributeError: 'JEditColorizer' object has no attribute 'findFirstValidAtLanguageDirective'
Strange ... nothing has been changed about this in VR3. Edward, has something been changed in JEditColorizer?
That makes it awkward for the plugins because it's not backwards compatible. Especially, if I would want to go back and revisit code in some previous commit ir another branch where the change hadn't been made. Maybe leaving in the deprecated method for a while would be a good idea.I think I'll put in a conditional call in VR3 in case one or the other method doesn't work.
Speaking of that, what changes did you make to the splitter layout methods? I'm getting a number of exceptions that didn't happen before.