Make folding elements colors customizable #49

Open
opened 2015-05-08 04:49:57 -05:00 by nippur72 · 2 comments
nippur72 commented 2015-05-08 04:49:57 -05:00 (Migrated from github.com)

When using a dark theme, the folding elements (markers and lines) does not show correctly as they have fixed colors (e.g. Brush.White).

I think it should be given possibility to customize them, my suggestion is to add the following to the FoldingManager object:

  • FoldingMarkerBrush
  • FoldingMarkerBackgroundBrush
  • SelectedFoldingMarkerBrush
  • SelectedFoldingMarkerBackgroundBrush

Would that be acceptable? In case I would write a pull request.

When using a dark theme, the folding elements (markers and lines) does not show correctly as they have fixed colors (e.g. `Brush.White`). I think it should be given possibility to customize them, my suggestion is to add the following to the `FoldingManager` object: - `FoldingMarkerBrush` - `FoldingMarkerBackgroundBrush` - `SelectedFoldingMarkerBrush` - `SelectedFoldingMarkerBackgroundBrush` Would that be acceptable? In case I would write a pull request.
rondotdll commented 2022-11-28 13:06:41 -06:00 (Migrated from github.com)

Any updates on the progress of implementing this feature? If not, is there any way to do this manually? I'll take a hacky solution

Any updates on the progress of implementing this feature? If not, is there any way to do this manually? I'll take a hacky solution
siegfriedpammer commented 2022-11-28 16:31:04 -06:00 (Migrated from github.com)
I believe that this has already been implemented, see https://github.com/icsharpcode/AvalonEdit/blob/b6fe189e7be4a8b650c0c670fdac8b839800d9cc/ICSharpCode.AvalonEdit/Folding/FoldingMargin.cs#L45-L183
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-icsharpcode/AvalonEdit#49
No description provided.