Title: Moving the caret past the *left* of the screen does not scroll the editor · Issue #6192 · processing/processing · GitHub
Open Graph Title: Moving the caret past the *left* of the screen does not scroll the editor · Issue #6192 · processing/processing
X Title: Moving the caret past the *left* of the screen does not scroll the editor · Issue #6192 · processing/processing
Description: Description Moving your caret to the left (that is, outside the visible bounds of the editor) does not scroll the editor until the caret is quite far off screen. Video. In the video I move my caret past the left edge of the screen and in...
Open Graph Description: Description Moving your caret to the left (that is, outside the visible bounds of the editor) does not scroll the editor until the caret is quite far off screen. Video. In the video I move my caret...
X Description: Description Moving your caret to the left (that is, outside the visible bounds of the editor) does not scroll the editor until the caret is quite far off screen. Video. In the video I move my caret...
Opengraph URL: https://github.com/processing/processing/issues/6192
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Moving the caret past the *left* of the screen does not scroll the editor","articleBody":"## Description\r\nMoving your caret to the left (that is, outside the visible bounds of the editor) does not scroll the editor until the caret is quite far off screen. \r\n\r\n[Video](https://user-images.githubusercontent.com/4723091/126055395-d0d1afd9-8c4e-42d4-a87d-78be7b80bc93.mp4). In the video I move my caret past the left edge of the screen and insert a `b`, all without being able to see what I'm doing. Then I use the scrollbar to scroll the `b` into view, showing that I was able to insert it without the editor scrolling.\r\n\r\n## Expected Behavior\r\nThe editor should scroll to keep the caret on-screen at all times. It does this with the right edge, but not the left one.\r\n\r\n## Current Behavior\r\nThe editor does not keep the caret on-screen at all times if you are moving it to the left.\r\n\r\n## Steps to Reproduce\r\n1. Scroll the editor horizontally to the right\r\n2. You can move your caret off-screen to the left and it won't scroll the editor immediately\r\n3. If you go far enough to the left, the editor will scroll as expected\r\n\r\n## Your Environment\r\n* Processing version: 3.5.4\r\n* Operating System and OS version: Windows 10 Home 2004 build 19041.928\r\n* Other information: N/A\r\n\r\n## Possible Causes / Solutions\r\nThe editor seems to consider the line number gutter a part of the visible area, so when the caret is behind it, it does not scroll the caret into view.","author":{"url":"https://github.com/LoganDark","@type":"Person","name":"LoganDark"},"datePublished":"2021-07-18T04:14:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/6192/processing/issues/6192"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c34ba2fa-c4ac-0aee-5cb6-44f16932a2eb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D792:2BDE8F:410F14:59696E:696F1D5D |
| html-safe-nonce | 33306bf9bd4ab68aa1afed8bf60c8fdacf0a60f4032d549812d816797e060992 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzkyOjJCREU4Rjo0MTBGMTQ6NTk2OTZFOjY5NkYxRDVEIiwidmlzaXRvcl9pZCI6IjM5MTEzMzkwNjY1NDM1MTI5MjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 33add9ef7a9ea7b3e59867d350cb5c7a6f58042cb76cd775673328e4dc52d516 |
| hovercard-subject-tag | issue:946947630 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/processing/6192/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c274b67f167656ade9a20b3d01c1d8ca32da4481692d9869fd59797b75b7b188/processing/processing/issues/6192 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c274b67f167656ade9a20b3d01c1d8ca32da4481692d9869fd59797b75b7b188/processing/processing/issues/6192 |
| og:image:alt | Description Moving your caret to the left (that is, outside the visible bounds of the editor) does not scroll the editor until the caret is quite far off screen. Video. In the video I move my caret... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | LoganDark |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing git https://github.com/processing/processing.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 7807399 |
| octolytics-dimension-repository_nwo | processing/processing |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7807399 |
| octolytics-dimension-repository_network_root_nwo | processing/processing |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width