-
Notifications
You must be signed in to change notification settings - Fork 1.8k
add overview ruler #3676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
meganrogge
merged 70 commits into
xtermjs:master
from
meganrogge:merogge/scroll-bar-decorations
Mar 16, 2022
Merged
add overview ruler #3676
Changes from 14 commits
Commits
Show all changes
70 commits
Select commit
Hold shift + click to select a range
a5a9c3b
add scroll decorations
meganrogge 4350c7f
get it to work
meganrogge 3a499fc
clear on dispose
meganrogge 785a819
clean up
meganrogge d46a685
more cleanup
meganrogge 89112fb
refactor to return / store IDecorations
meganrogge 249e73c
delete unused code
meganrogge 1948ec8
only clear relevant part of canvas on marker dispose
meganrogge cfd7912
enable registering a decoration before attach to dom has happened
meganrogge e797070
call on render
meganrogge 724bbeb
assign element in render call
meganrogge 89a0cee
when alt buffer is active, hide decorations
meganrogge 167a6fd
use position sticky
meganrogge bdfc82d
delete unused import
meganrogge 2f85448
Update css/xterm.css
meganrogge 98a03dd
re-arrange dom structure
meganrogge a14248d
Merge branch 'merogge/scroll-bar-decorations' of https://github.com/m…
meganrogge 1250ab6
insert before
meganrogge 4022277
scroll -> overviewRuler
meganrogge 692df15
part 1 of massive refactor
meganrogge 9e598d9
allow setting width
meganrogge 3b279e4
round to the nearest pixel
meganrogge ced0662
large refactor, broken
meganrogge 7dc3332
commit before reverting
meganrogge c8d1266
Fix buffer decoration onRender, start using internal decoration
Tyriar 4b615f4
Reduce state in buffer decorations
Tyriar 65b9a6c
Fix dependency injection for decoration service
Tyriar 3dc4f1a
Remove old decoration elements
Tyriar fc09730
Tidy up DecorationService
Tyriar bfb0481
register service
meganrogge 079bbc8
get it working in demo with overviewRulerwidth not considered"
meganrogge 3e47c96
get demo to work the right way
meganrogge 39f9c35
rename css, fix background color getting applied
meganrogge 4ef5f6a
add listener for on option change
meganrogge 520d5dd
delete unused css
meganrogge f98b4ce
properly dispose of buffer decoration
meganrogge 80e7963
fix tests and add one
meganrogge e7e9d5c
remove test
meganrogge df929f2
add position
meganrogge bd21c6a
adjust test
meganrogge 71649f5
fix tests
meganrogge adaee5e
use poll for instead
meganrogge 1905d7d
add overview ruler tests
meganrogge 21263a5
cleanup
meganrogge a93f81c
Update typings/xterm.d.ts
meganrogge 8488f1a
Update src/browser/Decorations/OverviewRulerRenderer.ts
meganrogge 5b87772
Update typings/xterm.d.ts
meganrogge 45ecc83
Update typings/xterm.d.ts
meganrogge b146ffd
Update src/browser/Decorations/OverviewRulerRenderer.ts
meganrogge fdc2bc4
Update typings/xterm.d.ts
meganrogge cee2411
more cleanup
meganrogge 1c38f85
Merge branch 'merogge/scroll-bar-decorations' of https://github.com/m…
meganrogge 4cc0db4
Update src/browser/Decorations/OverviewRulerRenderer.ts
meganrogge e7baccd
Update src/browser/Terminal.ts
meganrogge 9f6d4f5
Merge branch 'master' into merogge/scroll-bar-decorations
meganrogge a9a6920
more cleanup
meganrogge 19b212d
Merge branch 'merogge/scroll-bar-decorations' of https://github.com/m…
meganrogge 8ccbef8
only update canvas dimensions when needed
meganrogge 53c432d
add condition for when to update anchor
meganrogge b05db37
adjust size based on position
meganrogge d92e636
Update src/browser/Terminal.ts
meganrogge 035a7f7
Update src/browser/Terminal.ts
meganrogge 5777fbc
Update src/browser/tsconfig.json
meganrogge 6f5008d
Update typings/xterm.d.ts
meganrogge a4f830a
Update typings/xterm.d.ts
meganrogge 22d889a
use this._width instead of options
meganrogge 963ed59
tweak demo
meganrogge 7f85922
Merge branch 'merogge/scroll-bar-decorations' of https://github.com/m…
meganrogge c277fb7
add overviewRuler to addDecoration
meganrogge a0a7abb
add overview options to decoration in demo
meganrogge File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.