diff --git a/messages.json b/messages.json index f2027355..7b94c864 100644 --- a/messages.json +++ b/messages.json @@ -29,5 +29,6 @@ "6.4.4": "messages/6.4.4.rst", "6.4.5": "messages/6.4.5.rst", "6.5.0": "messages/6.5.0.rst", - "6.5.1": "messages/6.5.1.rst" + "6.5.1": "messages/6.5.1.rst", + "6.5.2": "messages/6.5.2.rst" } diff --git a/messages/6.5.2.rst b/messages/6.5.2.rst new file mode 100644 index 00000000..33c31740 --- /dev/null +++ b/messages/6.5.2.rst @@ -0,0 +1,24 @@ +Version 6.5.2 +============= + +Improvements and bug fixes: +--------------------------- +- Fix a rare crash when selecting code with error message on its line + +Huuuge thanks to my GitHub Sponsors! You're amazing! 🙏 +------------------------------------------------------- +- @vaporstack +- @Andreasdahlberg + +Join them on GitHub Sponsors and support the development! +https://github.com/sponsors/niosus + +Reach out! 😉 +------------- + +Tell me how YOU use the plugin! +- PM me on reddit: @soinus +- Tweet at me on twitter: @igor_niosus 🐦 + +Other means of support here: +https://github.com/niosus/EasyClangComplete#support-it diff --git a/plugin/utils/progress_status.py b/plugin/utils/progress_status.py index b6d861e5..c216286f 100644 --- a/plugin/utils/progress_status.py +++ b/plugin/utils/progress_status.py @@ -33,6 +33,10 @@ def __init__(self): def set_status(message): """Set status message for the current view.""" view = sublime.active_window().active_view() + if not view: + # In some situations as described in issue 745 this view would end + # up being None. So we check it obsessively here again. + return view.set_status(BaseProgressStatus.MSG_TAG, message) def erase_status(self):