Cursor Agent and Daniel Imms
4ec85e67ba
Add multiline-comment-style lint rule and fix violations
...
Enable multiline-comment-style with starred-block to require JSDoc-style
block comments with content on separate lines from the opening delimiter.
Auto-fix existing violations across the codebase.
Fixes #5899
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-26 20:15:55 +00:00
mgabor3141
9feb963cc9
fix: defer viewport DOM sync during synchronized output
...
Defer Viewport DOM scroll updates while DEC 2026 synchronized output is
active, then flush once rendering resumes so DOM and canvas update
atomically.
Also update demo sizing to avoid relying on removed internal viewport
scrollBarWidth.
2026-03-12 18:51:38 +01:00
mgabor3141
c294695444
refactor: plumb core service into Viewport constructor
2026-03-12 18:50:31 +01:00
Daniel Imms
6813fc175e
Merge remote-tracking branch 'upstream/master' into 5377_scroll
2026-03-11 12:15:59 +09:00
Daniel Imms
2331abe6bd
Rename CoreMouseService to MouseStateService
...
Part of #5756
2026-03-11 10:31:57 +09:00
Daniel Imms
38913e4ae1
Fix scrolling with touch
...
Part of #5377
2026-02-07 16:09:03 -08:00
Daniel Imms
d155bb6767
Move overviewRuler API under scrollbar
...
Fixes #5678
2026-02-05 09:14:58 -08:00
Daniel Imms
c2db7d4c8a
Add scrollbar.showScrollbar
...
Fixes #5676
2026-02-05 07:20:23 -08:00
Daniel Imms
a31f78bc8b
Prefix all scrollbar classes with xterm-
2026-02-03 06:57:50 -08:00
Daniel Imms
77695cb405
Make arrows configurable via API
2026-02-02 12:33:33 -08:00
Daniel Imms
d36af624cf
Remove vs/, fix lint and build
2026-02-02 06:10:43 -08:00
Daniel Imms
a105d3e457
Lint and remove more parts
2026-02-01 22:36:14 -08:00
Daniel Imms
f666135881
Move all impl to scrollable/
2026-02-01 06:25:12 -08:00
Daniel Imms
eea03cf0a9
Use lightweight versions of most vs/ imports
2026-01-31 22:52:19 -08:00
Daniel Imms
f80dbf3d03
Fix lint, split up namespace and interface
2026-01-30 06:21:15 -08:00
Daniel Imms
e8d99d50a6
Remove vs dependency in common
...
Fixes #5631
2026-01-30 06:03:16 -08:00
Daniel Imms
519b1c5ef7
Fix touch scrolling
...
Fixes #5489
2025-12-31 06:27:45 -08:00
Daniel Imms
d143340b60
Fix allowTransparency in lib and demo
...
Fixes #5558
Fixes #5560
2025-12-31 05:00:33 -08:00
Anthony Kim
2a6e22e8f8
set this._latestYDisp = undefined onBufferActivate
2025-10-01 20:36:06 -07:00
Anthony Kim
32c3cb01a1
Make sure this._latestYDisp is up to date
2025-09-30 23:04:04 -07:00
Daniel Imms
e9587cf68f
Refresh viewport after clear or ED
...
Fixes #5327
2025-04-21 07:00:27 -07:00
jeanp413
ad38b1a166
Fix https://github.com/microsoft/vscode/issues/224750
2024-08-14 07:45:37 -05:00
Daniel Imms
abe0640331
Use main document to create viewport element
...
See microsoft/vscode#224555
2024-08-05 11:50:36 -07:00
Daniel Imms
2a6cd8230c
Merge remote-tracking branch 'upstream/master' into tyriar/lifecycle
2024-07-15 09:52:09 -07:00
Daniel Imms
bf41eb4204
Add top/bottom border overview ruler options
2024-07-15 09:14:49 -07:00
Daniel Imms
144bdb5dd0
Move over to vs disposables
2024-07-14 16:19:20 -07:00
Daniel Imms
9c7e2ea98e
Remove IEvent and runAndSubscribe
2024-07-14 08:17:16 -07:00
Daniel Imms
90ff6f3d06
Migrate most EventEmitter to base/ Emitter
2024-07-14 07:41:56 -07:00
Daniel Imms
90a1da28bd
Scroll immediately to bottom when scrollOnUserInput is enabled
...
See microsoft/vscode#211199
2024-07-11 09:36:22 -07:00
Daniel Imms
73ee951807
Resolve more todos
2024-07-11 08:43:54 -07:00
Daniel Imms
2da5eca384
Fix mouse events
2024-07-11 08:29:29 -07:00
Daniel Imms
a644b5d068
Clean up dealing with animation frame
2024-07-10 13:50:07 -07:00
Daniel Imms
444c07fd81
Replace monaco- with xterm- in code/css files
2024-07-10 13:33:43 -07:00
Daniel Imms
59a8f0cf8e
_getMutableOptions -> _getChangeOptions
2024-07-10 12:47:47 -07:00
Daniel Imms
1096b7f17f
Create shared file for viewport constants
2024-07-10 12:40:02 -07:00
Daniel Imms
55c627572c
Support smooth scroll
2024-07-10 12:32:55 -07:00
Daniel Imms
2b8ccb5e51
Deprecate fast scroll modifier as it's no longer possible
...
Not possible via the component we import. We could add this but I
doubt it was being used anyway.
2024-07-10 08:30:32 -07:00
Daniel Imms
ade5591d60
Const enum over magic number
2024-07-10 07:58:29 -07:00
Daniel Imms
884141cd8f
Support theming of scroll bar slider
2024-07-10 07:54:39 -07:00
Daniel Imms
9b26bb4436
Support theming of overview ruler border
2024-07-10 07:30:38 -07:00
Daniel Imms
75bf192af5
Have scroll bar bg react to theme change
2024-07-10 07:03:51 -07:00
Daniel Imms
4789c24e1e
Get esbuild working and adopt vs scrollbar
2024-07-09 11:19:15 -07:00
Daniel Imms
292042e813
Merge pull request #4984 from tisilent/fix-#4983
...
Clear timer when dispose
2024-04-21 07:33:52 -07:00
Daniel Imms
16db227119
Prevent smooth scroll from running more than once per frame
...
Fixes #5036
2024-04-20 08:11:59 -07:00
tisilent
fe22671a6e
Clear timer when dispose
2024-03-06 17:03:25 +08:00
Daniel Imms
681ba4887f
Fix viewport error during term dispose
...
Fixes #4775
2023-09-09 07:11:32 -07:00
Daniel Imms
921da1a2ea
Ignore no-unused-vars in .api, organize all remaining imports
2023-08-23 04:47:53 -07:00
Daniel Imms
0e947788e0
Don't smooth scroll when it's a no-op
...
Fixes #4713
2023-08-22 06:39:59 -07:00
Daniel Imms
530f758905
Restrict comments to 100 characters
...
This is a rule I try enforce in PR but it's a bit of a hassle, this will
give a lint warning when it happens resulting in:
- Yellow underline in supported editors when eslint is installed
- Compilation will succeed since it's a warning not an error
- CI will fail as it does not allow lint warnings
Special case comments are ignored which includes @vt comments, table
comments and commented out code.
2023-08-12 09:04:41 -07:00
Daniel Imms
acf53f69e0
Ensure viewport is correctly reset on term.reset
...
Part of #4603
2023-08-02 11:18:00 -07:00