docs: fix typos in typings, tests, and core comments
- addon-clipboard: "Note that this" instead of duplicate "this" - addon-webgl: remove stray "the" before "a" in event JSDoc - SharedRendererTests: duplicate "the" in test title - Types: "protocol" spelling in CoreMouseEncoding JSDoc - InputHandler: "a replacement char" article fix Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -550,7 +550,7 @@ export class InputHandler extends Disposable implements IInputHandler {
|
||||
|
||||
// get charset replacement character
|
||||
// charset is only defined for ASCII, therefore we only
|
||||
// search for an replacement char if code < 127
|
||||
// search for a replacement char if code < 127
|
||||
if (code < 127 && charset) {
|
||||
const ch = charset[String.fromCharCode(code)];
|
||||
if (ch) {
|
||||
|
||||
+1
-1
@@ -234,7 +234,7 @@ export interface ICoreMouseProtocol {
|
||||
/**
|
||||
* CoreMouseEncoding
|
||||
* The tracking encoding can be registered and activated at the MouseStateService.
|
||||
* If a ICoreMouseEvent passes all procotol restrictions it will be encoded
|
||||
* If a ICoreMouseEvent passes all protocol restrictions it will be encoded
|
||||
* with the active encoding and sent out.
|
||||
* Note: Returning an empty string will supress sending a mouse report,
|
||||
* which can be used to skip creating falsey reports in limited encodings
|
||||
|
||||
Reference in New Issue
Block a user