Skip to content

Commit

Permalink
Merge branch 'main' into pr/saidelike/2256
Browse files Browse the repository at this point in the history
  • Loading branch information
pokey committed Jul 18, 2024
2 parents 06bfbb7 + bb0d9d6 commit 49cb9f2
Show file tree
Hide file tree
Showing 8 changed files with 1,025 additions and 616 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"prettier": "3.2.5",
"prettier-plugin-tailwindcss": "0.5.12",
"syncpack": "12.3.0",
"typescript": "^5.4.3"
"typescript": "^5.5.3"
},
"pnpm": {
"patchedDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cheatsheet-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"tailwindcss": "3.4.1",
"ts-loader": "9.5.1",
"ts-node": "10.9.2",
"typescript": "^5.4.3",
"typescript": "^5.5.3",
"webpack": "5.91.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/cheatsheet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"ts-jest": "29.1.2",
"typescript": "^5.4.3"
"typescript": "^5.5.3"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion packages/cursorless-org-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@docusaurus/types": "3.1.1",
"@tsconfig/docusaurus": "2.0.2",
"@types/mdast": "4.0.3",
"typescript": "^5.4.3",
"typescript": "^5.5.3",
"unified": "11.0.4"
},
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/cursorless-org/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"http-server": "14.1.1",
"postcss": "8.4.38",
"tailwindcss": "3.4.1",
"typescript": "^5.4.3"
"typescript": "^5.5.3"
},
"license": "MIT",
"main": "./out/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ const testCases: TestCase[] = [
finalContent: "(a)",
},
{
name: "preserve keyboard target",
name: "set keyboard target to cursor",
initialContent: "a\n",
// round wrap air; round wrap <keyboard target>
keySequence: ["da", "aw", "wp", "aw", "wp"],
finalContent: "((a))\n",
finalContent: "(a)\n()",
},
{
name: "slice range",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,12 +261,7 @@ export default class KeyboardCommandsTargeted {
} else {
// If we're not exiting cursorless mode, preserve the keyboard mark
// FIXME: Better to just not clobber the keyboard mark on each action?
await setKeyboardTarget({
type: "primitive",
mark: {
type: "that",
},
});
await this.targetSelection();
}

return returnValue;
Expand Down
Loading

0 comments on commit 49cb9f2

Please sign in to comment.