Skip to content

Fixed occasional NPE on selection change.#56

Open
davidmichaelkarr wants to merge 1 commit intoxored:masterfrom
davidmichaelkarr:npeOnSelChangeOnNowEmptyBuffer
Open

Fixed occasional NPE on selection change.#56
davidmichaelkarr wants to merge 1 commit intoxored:masterfrom
davidmichaelkarr:npeOnSelChangeOnNowEmptyBuffer

Conversation

@davidmichaelkarr
Copy link
Copy Markdown
Contributor

This deals with the unusual case of selecting something in the buffer
and then emptying the buffer. The selection change listener fires
around that point, but "getModule()" returns null (in some cases,
apparently), causing the NPE when that happens.

This deals with the unusual case of selecting something in the buffer
and then emptying the buffer.  The selection change listener fires
around that point, but "getModule()" returns null (in some cases,
apparently), causing the NPE when that happens.
@davidmichaelkarr
Copy link
Copy Markdown
Contributor Author

Forgot to mention, this is for this issue: #55 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant