guardian / typerighter

Even if you’re the right typer, couldn’t hurt to use Typerighter!
Apache License 2.0
276 stars 12 forks source link

Removes the buffer property from the getSurroundingText method #84

Closed SHession closed 4 years ago

SHession commented 4 years ago

What does this change?

This is a no-op PR to remove the buffer parameter from the getSurroundText method. This change is useful as currently different match types are erroneously returning different length strings.

The buffer property is no longer useful due to a change in how match context is provided.

How to test

The Typerighter server should behave as normal.