FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: do not log BadLocationException when colorizing from tokenizer thread by markdomeng · Pull Request #888 · eclipse-tm4e/tm4e · GitHub

fix: do not log BadLocationException when colorizing from tokenizer thread - #888

Merged
sebthom merged 1 commit into
eclipse-tm4e:mainfrom
markdomeng:fixbadLocationException2
May 30, 2025
Merged

fix: do not log BadLocationException when colorizing from tokenizer thread#888
sebthom merged 1 commit into
eclipse-tm4e:mainfrom
markdomeng:fixbadLocationException2

Conversation

Copy link
Copy Markdown
Contributor

tokenizer thread runs asynchronously to modifications to the document, so it is expected that the colorizer may throw BadLocationExceptions, and there is no need to log these

…hread

tokenizer thread runs asynchronously to modifications to the document,
so it is expected that the colorizer may throw BadLocationExceptions,
and there is no need to log these

sebthom commented May 30, 2025

Copy link
Copy Markdown
Member

Thanks!

joaodinissf added a commit to joaodinissf/lsp4e that referenced this pull request Jun 4, 2025
…tegy

A document may be modified concurrently by multiple threads. This can
cause `BadLocationException`s, which should not be logged unless
the log trace is enabled for the LanguageServerPlugin.

Follows a similar pattern to:
eclipse-tm4e/tm4e#888
joaodinissf added a commit to joaodinissf/lsp4e that referenced this pull request Jun 4, 2025
…tegy

A document may be modified concurrently by multiple threads. This can
cause `BadLocationException`s, which should not be logged unless
the log trace is enabled for the LanguageServerPlugin.

Follows a similar pattern to:
eclipse-tm4e/tm4e#888
joaodinissf added a commit to joaodinissf/lsp4e that referenced this pull request Jun 4, 2025
…tegy

A document may be modified concurrently by multiple threads. This can
cause `BadLocationException`s, which should not be logged unless
the log trace is enabled for the LanguageServerPlugin.

Follows a similar pattern to:
eclipse-tm4e/tm4e#888
rubenporras pushed a commit to eclipse-lsp4e/lsp4e that referenced this pull request Jun 4, 2025
…tegy

A document may be modified concurrently by multiple threads. This can
cause `BadLocationException`s, which should not be logged unless
the log trace is enabled for the LanguageServerPlugin.

Follows a similar pattern to:
eclipse-tm4e/tm4e#888
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL