<commit_before>/**
 * Copyright 2016 <NAME> <<EMAIL>>
 */
/* text viewer styles */

@import "text-computed-colors";

:host {
  display: block;
  width: 100%;
  white-space: normal;
  contain: strict;
}

#ID_CONTAINER {
/*          height: 100%; */
  width: 100%;
  overflow: hidden;
  contain: strict;
}

#ID_CONTAINER > DIV.CodeMirror {
  font-family: var(--terminal-font);
  font-size: var(--terminal-font-size);
  line-height: normal;
}

#ID_CONTAINER:focus {
  outline: 0px;
}

#ID_CONTAINER.hide_cursor .CodeMirror-cursors {
    display: none !important;
}<commit_msg>Prevent the text viewer and CodeMirror from locking up when we move it to its own tab.<commit_after>/**
 * Copyright 2016 <NAME> <<EMAIL>>
 */
/* text viewer styles */

@import "text-computed-colors";

:host {
  display: block;
  width: 100%;
  white-space: normal;
  contain: strict;
}

#ID_CONTAINER {
/*          height: 100%; */
  width: 100%;
  overflow: hidden;
  contain: strict;
}

#ID_CONTAINER > DIV.CodeMirror {
  font-family: var(--terminal-font);
  font-size: var(--terminal-font-size);
  line-height: normal;
  min-height: 1em;  /* Prevent CodeMirror from freaking out and hanging the CPU if the height becomes 0. */
}

#ID_CONTAINER:focus {
  outline: 0px;
}

#ID_CONTAINER.hide_cursor .CodeMirror-cursors {
    display: none !important;
}
{'fraction_non_alphanumeric': 0.14996232102486812, 'fraction_numerical': 0.02260738507912585, 'mean_word_length': 3.5016949152542374, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, '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': '1875832', 'n_tokens_mistral': 525, 'n_tokens_neox': 472, 'n_words': 120}