-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Add query param to limit highlighting to specified length #67325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
ed824b0
Add option to limit highlighting to max offset
matriv 2625d29
fix bwc
matriv adef3e7
fix version check for bwc
matriv e93d428
skip for previous versions
matriv 1b5404a
Add suggestion to use new query param to the exception message
matriv be553cf
Merge remote-tracking branch 'upstream/master' into limitHighlighting
matriv 7de3245
reword error message and adjust tests
matriv e06e510
change wrapping method, fix AnnotatedTextHighlighter
matriv b5482e3
remove uneccessary override of method
matriv 29606b0
Merge remote-tracking branch 'upstream/master' into limitHighlighting
matriv e3e6a19
remove unused import
matriv 9af770e
Merge remote-tracking branch 'upstream/master' into limitHighlighting
matriv ce3b7ef
revert remove mode
matriv 7bffec8
Merge remote-tracking branch 'upstream/master' into limitHighlighting
matriv 294b1ec
Merge remote-tracking branch 'upstream/master' into limitHighlighting
matriv 18bdb67
Merge remote-tracking branch 'upstream/master' into limitHighlighting
matriv af1b108
Merge remote-tracking branch 'upstream/master' into limitHighlighting
matriv f533369
Merge remote-tracking branch 'upstream/master' into limitHighlighting
matriv 1e51405
fix licence
matriv c0fbd91
Change semantics of the new setting.
matriv 91ca994
revert import order change
matriv 75e3d42
fix checkstyle
matriv 95246cf
fix checkstyle
matriv 410d914
add more tests
matriv 7a53828
Merge remote-tracking branch 'upstream/master' into limitHighlighting
matriv 79cb5ac
fix checkstyle
matriv c9a82a9
Merge remote-tracking branch 'upstream/master' into limitHighlighting
matriv b7ae8cc
address comments
matriv c547825
Merge remote-tracking branch 'upstream/master' into limitHighlighting
matriv edb2bd8
rephrase error message
matriv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can use try-with-resources here I think?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thought about it but we need to tries since, something like that: https://gist.github.com/matriv/ca6ca5fe191c8e0b1e49af282ec90669
so I preferred the traditional way, but happy to change if you prefer the try-with-resources.