<commit_before><?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://yt2p/skin/optionsWindow.css" type="text/css"?>
<!DOCTYPE overlay SYSTEM "chrome://yt2p/locale/optionsWindow.dtd">
<prefwindow
    id="yt2p-prefwindow"
    title="&title.label;"
    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
    buttons="cancel,accept,extra1"
    onload="init()"
    ondialogaccept="accept()"
    buttonlabelextra1="&settings.label;">
  <script type="application/x-javascript" src="chrome://yt2p/content/optionsWindow.js"/>
  <keyset>
    <key modifiers="control" key="a" oncommand="playerView.selection.selectAll()"/>
    <key modifiers="control" key="e" oncommand="playerView.editItem()"/>
    <key modifiers="control" key="x" oncommand="playerView.cutItems()"/>
    <key modifiers="control" key="c" oncommand="playerView.copyItems()"/>
    <key modifiers="control" key="v" oncommand="playerView.pasteItems()"/>
    <key modifiers="shift" keycode="VK_DELETE" oncommand="playerView.deleteItems(true)"/>
    <key modifiers="shift" keycode="VK_BACK" oncommand="playerView.deleteItems(true)"/>
    <key keycode="VK_DELETE" oncommand="playerView.deleteItems()"/>
    <key keycode="VK_BACK" oncommand="playerView.deleteItems()"/>
    <key keycode="VK_SPACE" oncommand="playerView.editItem()"/>
    <key keycode="VK_ENTER" oncommand="playerView.editItem()"/>
  </keyset>
  <popupset>
    <menupopup id="playersMenuPopup" onpopupshowing="return playerView.contextMenuOpened(event)">
      <menuitem id="editPlayer" class="require-editable" label="&edit.label;" oncommand="playerView.editItem()"/>
      <menuseparator class="require-editable"/>
      <menuitem id="addPlayer" class="require-container" label="&addPlayer.label;" oncommand="addPlayer()"/>
      <menuitem id="addSeparator" class="require-container" label="&addSeparator.label;" oncommand="addSeparator()"/>
      <menuseparator class="require-container"/>
      <menuitem id="cutPlayers" class="require-selection" label="&cut.label;" oncommand="playerView.cutItems()"/>
      <menuitem id="copyPlayers" class="require-selection" label="&copy.label;" oncommand="playerView.copyItems()"/>
      <menuitem id="pastePlayers" class="require-selection" label="&paste.label;" oncommand="playerView.pasteItems()"/>
      <menuseparator class="require-selection"/>
      <menuitem id="deletePlayers" class="require-selection" label="&delete.label;" oncommand="playerView.deleteItems()"/>
    </menupopup>
    <menupopup id="optionsMenuPopup">
      <menuitem id="importPrefs" label="&import.label;" oncommand="importPrefs()"/>
      <menuitem id="exportPrefs" label="&export.label;" oncommand="exportPrefs()"/>
      <menuitem id="resetPrefs" label="&defaults.label;" oncommand="resetPrefs()"/>
    </menupopup>
  </popupset>
  <prefpane
      id="playersPane"
      flex="1"
      label="&playersPane.label;"
      image="chrome://yt2p/skin/32/pane-players.png">
    <tree
        id="playerTree"
        flex="1"
        seltype="multiple"
        editable="true"
        hidehscroll="true"
        hidevscroll="true"
        hidecolumnpicker="true"
        keepcurrentinview="true"
        disablekeynavigation="true"
        onselect="return playerView.selectionChanged(event)"
        _allPlayers="&playerTree._allPlayers;"
        _confirmDelete="&playerTree._confirmDelete;">
      <treecols orient="horizontal">
        <treecol id="name" flex="1" primary="true" editable="false" label="&name.label;"/>
        <treecol id="isIconRow" type="checkbox" editable="true" label="&iconRow.label;"/>
        <treecol id="isClickSender" type="checkbox" editable="true" label="&clickSender.label;"/>
      </treecols>
      <treechildren
          flex="1"
          context="playersMenuPopup"
          tooltiptext="&playerTree.tooltiptext;"
          ondblclick="return playerView.doubleClicked(event)"
          ondragstart="return playerView.startDrag(event)"
          ondragend="return playerView.endDrag(event)"/>
    </tree>
  </prefpane>
  <prefpane id="menusPane" label="&menusPane.label;" image="chrome://yt2p/skin/32/pane-menus.png">
    <preferences><commit_msg>Slight optionsWindow tree height bugfix.<commit_after><?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://yt2p/skin/optionsWindow.css" type="text/css"?>
<!DOCTYPE overlay SYSTEM "chrome://yt2p/locale/optionsWindow.dtd">
<prefwindow
    id="yt2p-prefwindow"
    title="&title.label;"
    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
    buttons="cancel,accept,extra1"
    onload="init()"
    ondialogaccept="accept()"
    buttonlabelextra1="&settings.label;">
  <script type="application/x-javascript" src="chrome://yt2p/content/optionsWindow.js"/>
  <keyset>
    <key modifiers="control" key="a" oncommand="playerView.selection.selectAll()"/>
    <key modifiers="control" key="e" oncommand="playerView.editItem()"/>
    <key modifiers="control" key="x" oncommand="playerView.cutItems()"/>
    <key modifiers="control" key="c" oncommand="playerView.copyItems()"/>
    <key modifiers="control" key="v" oncommand="playerView.pasteItems()"/>
    <key modifiers="shift" keycode="VK_DELETE" oncommand="playerView.deleteItems(true)"/>
    <key modifiers="shift" keycode="VK_BACK" oncommand="playerView.deleteItems(true)"/>
    <key keycode="VK_DELETE" oncommand="playerView.deleteItems()"/>
    <key keycode="VK_BACK" oncommand="playerView.deleteItems()"/>
    <key keycode="VK_SPACE" oncommand="playerView.editItem()"/>
    <key keycode="VK_ENTER" oncommand="playerView.editItem()"/>
  </keyset>
  <popupset>
    <menupopup id="playersMenuPopup" onpopupshowing="return playerView.contextMenuOpened(event)">
      <menuitem id="editPlayer" class="require-editable" label="&edit.label;" oncommand="playerView.editItem()"/>
      <menuseparator class="require-editable"/>
      <menuitem id="addPlayer" class="require-container" label="&addPlayer.label;" oncommand="addPlayer()"/>
      <menuitem id="addSeparator" class="require-container" label="&addSeparator.label;" oncommand="addSeparator()"/>
      <menuseparator class="require-container"/>
      <menuitem id="cutPlayers" class="require-selection" label="&cut.label;" oncommand="playerView.cutItems()"/>
      <menuitem id="copyPlayers" class="require-selection" label="&copy.label;" oncommand="playerView.copyItems()"/>
      <menuitem id="pastePlayers" class="require-selection" label="&paste.label;" oncommand="playerView.pasteItems()"/>
      <menuseparator class="require-selection"/>
      <menuitem id="deletePlayers" class="require-selection" label="&delete.label;" oncommand="playerView.deleteItems()"/>
    </menupopup>
    <menupopup id="optionsMenuPopup">
      <menuitem id="importPrefs" label="&import.label;" oncommand="importPrefs()"/>
      <menuitem id="exportPrefs" label="&export.label;" oncommand="exportPrefs()"/>
      <menuitem id="resetPrefs" label="&defaults.label;" oncommand="resetPrefs()"/>
    </menupopup>
  </popupset>
  <prefpane
      id="playersPane"
      flex="1"
      label="&playersPane.label;"
      image="chrome://yt2p/skin/32/pane-players.png">
    <tree
        id="playerTree"
        flex="1"
        seltype="multiple"
        editable="true"
        hidehscroll="true"
        hidevscroll="true"
        height="256px"
        hidecolumnpicker="true"
        keepcurrentinview="true"
        disablekeynavigation="true"
        onselect="return playerView.selectionChanged(event)"
        _allPlayers="&playerTree._allPlayers;"
        _confirmDelete="&playerTree._confirmDelete;">
      <treecols orient="horizontal">
        <treecol id="name" flex="1" primary="true" editable="false" label="&name.label;"/>
        <treecol id="isIconRow" type="checkbox" editable="true" label="&iconRow.label;"/>
        <treecol id="isClickSender" type="checkbox" editable="true" label="&clickSender.label;"/>
      </treecols>
      <treechildren
          flex="1"
          context="playersMenuPopup"
          tooltiptext="&playerTree.tooltiptext;"
          ondblclick="return playerView.doubleClicked(event)"
          ondragstart="return playerView.startDrag(event)"
          ondragend="return playerView.endDrag(event)"/>
    </tree>
  </prefpane>
  <prefpane id="menusPane" label="&menusPane.label;" image="chrome://yt2p/skin/32/pane-menus.png">
    <preferences>
{'fraction_non_alphanumeric': 0.173450070989115, 'fraction_numerical': 0.004614292475153809, 'mean_word_length': 4.66934942991281, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 2, '>': 103, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 8}, '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': '7025742', 'n_tokens_mistral': 2674, 'n_tokens_neox': 2655, 'n_words': 370}