-
Notifications
You must be signed in to change notification settings - Fork 697
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
Use LineCanvas to draw TableView borders #2574
Draft
Nutzzz
wants to merge
32
commits into
gui-cs:v2_develop
Choose a base branch
from
Nutzzz:tableview_linecanvasborders
base: v2_develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 29 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
1d78048
Use LineCanvas to draw TableView borders
Nutzzz 3aa57ec
Merge branch 'v2_develop' into tableview_linecanvasborders
Nutzzz cab5ca9
Fix merge
Nutzzz 385f668
Fix column names
Nutzzz 95a13cf
Fix most of the failing table unit tests
Nutzzz a1bbc6f
Merge branch 'v2_develop' into tableview_linecanvasborders
Nutzzz 4f5bab7
Fix merge
Nutzzz 62ed8a7
Merge branch 'v2_develop' into tableview_linecanvasborders
Nutzzz f036091
Fix missing separator after null cell entries where NullSymbol is nul…
Nutzzz 8313dc0
Fix SeparatorSymbol (when cell lines are disabled)
Nutzzz f11a5d1
Change default for AlwaysUseNormalColorForVerticalCellLines back to f…
Nutzzz 915dc36
Merge branch 'v2_develop' into tableview_linecanvasborders
Nutzzz 9f23974
Fix merge
Nutzzz 3a1d3ee
Add table LineStyles to TableEditor scenario
Nutzzz 1898677
Merge branch 'v2_develop' into tableview_linecanvasborders
Nutzzz b64ea4f
Fix ExpandLastColumn=false and make HeaderThroughline respect LineStyle
Nutzzz 29ce0e1
Merge branch 'tableview_linecanvasborders' of https://github.com/Nutz…
Nutzzz 979c74d
Fix merge
Nutzzz 846aab9
Merge branch 'v2_develop' into tableview_linecanvasborders
Nutzzz e701805
Merge branch 'v2_develop' into tableview_linecanvasborders
Nutzzz aeecd22
Merge branch 'v2_develop' into tableview_linecanvasborders
tig 2baf075
Merge remote-tracking branch 'upstream/v2_develop' into tableview_lin…
Nutzzz ebf1c03
Update TableStyle.cs
Nutzzz 503bc98
Merge branch 'v2_develop' into tableview_linecanvasborders
Nutzzz bbc4419
Merge branch 'v2_develop' into tableview_linecanvasborders
tig e8f8235
Merge branch 'v2_develop' into tableview_linecanvasborders
tig 0c0d854
Fixes after upstream changes
Nutzzz 3d37ad2
Merge branch 'v2_develop' into tableview_linecanvasborders
Nutzzz 5a055f0
New features, including return of empty column behavior
Nutzzz a1c9808
Use Runes for SeparatorSymbols and BackgroundSymbol
Nutzzz b28d72e
Add glyph suggestion for SeparatorSymbols
Nutzzz d3c9a26
Allow user to use HeaderThroughline with HeaderOverline and HeaderUnd…
Nutzzz 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 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per our guidelines and just because it's a plain ol' good idea, how about defining constants for these instead of the char literal?
Fast way to do that would be to highlight the
' '
in one spot, press ctrl-alt-c, to invoke the resharper introduce constant refactoring, choose the option that says "replace x instances", which will cover any it thinks are relevant within the same scope, and then pick a name for the constant such asSingleSpace
(or anything else that would make sense and also not be a potential conflict with any future strings or other types with a similar value/purpose).And of course not necessarily in this PR. Just making note of a place for us to dogfood our guidelines.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that if this is to be a constant it would make more sense as
DefaultHeaderSeparatorSymbol
rather than a global find and replace.I think that approach would also work better with ConfigurationManager which has some precedent for changing defaults via settings files