<commit_before>
class window.Cartilage.Views.MatrixView extends Cartilage.Views.ListView

  className: "list-view matrix-view"

  events: _.extend {
    "mouseup": "onMouseUp",
    "mousemove": "onMouseMove"
  }, Cartilage.Views.ListView.prototype.events

  #
  # Whether or not drag-selection should be enabled.
  #
  allowsDragSelection: false

  initialize: (options = {}) ->

    # Apply options
    @allowsDragSelection = options["allowsDragSelection"] || (@allowsDragSelection ?= false)

    super(options)

  render: =>
    super()
    ($ @el).append ($ "<div/>").addClass("overlay").hide()
    @

  #<commit_msg>[MatrixView] Enabling "allowsDragSelection" will force "allowsMultipleSelection" to be enabled.<commit_after>
class window.Cartilage.Views.MatrixView extends Cartilage.Views.ListView

  className: "list-view matrix-view"

  events: _.extend {
    "mouseup": "onMouseUp",
    "mousemove": "onMouseMove"
  }, Cartilage.Views.ListView.prototype.events

  #
  # Whether or not drag-selection should be enabled.
  #
  allowsDragSelection: false

  initialize: (options = {}) ->

    super(options)

    # Apply options
    @allowsDragSelection = options["allowsDragSelection"] || (@allowsDragSelection ?= false)
    @allowsMultipleSelection = options["allowsDragSelection"] || (@allowsMultipleSelection ?= @allowsDragSelection)

  render: =>
    super()
    ($ @el).append ($ "<div/>").addClass("overlay").hide()
    @

  #
{'fraction_non_alphanumeric': 0.1411682892906815, 'fraction_numerical': 0.0, 'mean_word_length': 4.049122807017544, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3107053', 'n_tokens_mistral': 446, 'n_tokens_neox': 408, 'n_words': 86}