From 1e8363183b219171cb396a9fd998de3f5e98bf89 Mon Sep 17 00:00:00 2001 From: Igor Bogoslavskyi Date: Sun, 18 Apr 2021 16:31:05 +0200 Subject: [PATCH 1/2] Add additional check for active view being None --- plugin/utils/progress_status.py | 4 ++++ 1 file changed, 4 insertions(+) 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): From e36cb8ab8140574805e0883a3fb524fc98ee4386 Mon Sep 17 00:00:00 2001 From: Igor Bogoslavskyi Date: Sun, 18 Apr 2021 17:14:09 +0200 Subject: [PATCH 2/2] Add messages for 6.5.2 --- messages.json | 3 ++- messages/6.5.2.rst | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 messages/6.5.2.rst 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