-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spellcheck: Drop use of deprecated sci_get_text_range()
Naive replacement leads to allocating the buffer on each call, but it should not be a concern as the previous commit dropped more useless allocations yet nobody complained before.
- Loading branch information
Showing
1 changed file
with
6 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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
f5871f7
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.
This is a little more questionable and basically just drop use of the deprecated
sci_get_contents_range()
, making the code slightly simpler and slightly less optimized. But well, as the commit message says I doubt it's an issue.