Treat apostrophes as word characters for Ctrl+Arrow
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Maintainer-controlled web client version.
|
||||
// Format: YYYY.MM.DD Rn (example: 2026.02.20 R2)
|
||||
window.CHGRID_WEB_VERSION = "2026.02.21 R95";
|
||||
window.CHGRID_WEB_VERSION = "2026.02.21 R96";
|
||||
// Optional display timezone for timestamps. Falls back to America/Detroit if unset/invalid.
|
||||
window.CHGRID_TIME_ZONE = "America/Detroit";
|
||||
|
||||
@@ -98,7 +98,7 @@ export function mapTextInputKey(code: string, key: string): string {
|
||||
}
|
||||
|
||||
function isWordCharacter(ch: string): boolean {
|
||||
return /[A-Za-z0-9_]/.test(ch);
|
||||
return /[A-Za-z0-9_'\u2019]/.test(ch);
|
||||
}
|
||||
|
||||
export function moveCursorWordLeft(text: string, cursorPos: number): number {
|
||||
|
||||
Reference in New Issue
Block a user