-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Towards rendering without colours (#76)
* towards rendering without colours * need feedback on looks * refactoring to a Types module * progress * refactored properly * refactored properly * refactor and simplify tags * added variables * fix colours for side by side view * added edit distance calculation * progress on visual. still some bugs * revert changes to word diff * tried something * tried something else * tried something else * tried something else * this removed unnecessary stuff * fix some visual bug with accessible view * updated tests * updated tests * updated tests * revert cram test to follow main * fix comments * git add additional tests * fixed code changes in hunk view * fixed bug * fixed tests
- Loading branch information
Showing
9 changed files
with
405 additions
and
227 deletions.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
val current_hunks : string Patch.t Zipper.t -> Nottui.ui | ||
type rendering_mode = Color | TextMarkers | ||
|
||
val current_hunks : string Patch.t Zipper.t -> rendering_mode -> Nottui.ui | ||
(** [current_hunks zipper] returns the current hunks in a patch zipper for | ||
normal view. *) | ||
|
||
val current_hunks_side_by_side : string Patch.t Zipper.t -> Nottui.ui | ||
val current_hunks_side_by_side : | ||
string Patch.t Zipper.t -> rendering_mode -> Nottui.ui | ||
(** [current_hunks_side_by_side zipper] returns the current hunks in a patch | ||
zipper for side-by-side view. *) |
Oops, something went wrong.