Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite MaxLineLength & TrailingWhitespace to avoid problematic offse…
…t calcs (#7270) * Ensure positive integers passed when finding elements in provided range Negative values are invalid as the text range must start and end within the range 0 to file.text.length * Rewrite MaxLineLength to avoid problematic offset calcs * Tidy up * Improve readability * Rewrite TrailingWhitespace to avoid problematic offset calcs
- Loading branch information
Showing
3 changed files
with
41 additions
and
33 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
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
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