Skip to content

Commit

Permalink
Added comment explaining range type
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasArvidsson committed Dec 8, 2021
1 parent 7cced98 commit ad23f3d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/typings/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,9 @@ export interface RangeTarget {
rangeType: RangeType;
}

export type RangeType = "vertical" | "continuous";
// continuous is one single continuous selection between the two targets
// vertical puts a selection on each line vertically between the two targets
export type RangeType = "continuous" | "vertical";

export interface ListTarget {
type: "list";
Expand Down

0 comments on commit ad23f3d

Please sign in to comment.