<commit_before>{Task, Emitter} = require 'atom'
path = require 'path'
fs = require('fs')
ReplProcess = require.resolve './repl-process'

replHelpText = ";; This is a text editor and also a Clojure REPL.  It behaves
differently than a typical Clojure REPL. You can type anywhere and modify any of
the displayed text. Commands are not sent by typing in the REPL and pressing
enter. They are sent through keyboard shortcuts.\n
\n
;; REPL Execution Keybindings\n
;; Note: These keybindings can be executed from any file and the results will be
displayed in this REPL.\n
;; See the settings for more keybindings.\n
\n
;; cmd+alt+b - execute block. Finds the block of Clojure code your cursor is in
and executes that.\n
\n
;; Try it now. Put your cursor inside this block and press cmd+alt+b\n
(+ 2 3)\n
\n
;; cmd+alt+s - Executes the selection. Sends the selected text to the REPL.\n
\n
;; Try it now. Select these three lines and hit cmd + alt + s.\n
(println \"hello 1\")\n
(println \"hello 2\")\n
(println \"hello 3\")\n
\n
;; You can disable this help text in the settings.\n"

# The path to a default project to use if proto repl is started outside of a leiningen project<commit_msg>Fixed #9 - Updating help text in REPL<commit_after>{Task, Emitter} = require 'atom'
path = require 'path'
fs = require('fs')
ReplProcess = require.resolve './repl-process'

replHelpText = ";; This is a text editor and also a Clojure REPL.  It behaves
differently than a typical Clojure REPL. You can type anywhere and modify any of
the displayed text. Commands are not sent by typing in the REPL and pressing
enter. They are sent through keyboard shortcuts.\n
\n
;; REPL Execution Keybindings\n
;; Note: These keybindings can be executed from any file and the results will be
displayed in this REPL.\n
;; The keybindings are almost all of the form ctrl + comma, release, and then another key.\n
;; See the settings for more keybindings.\n
\n
;; ctrl-, then b - execute block. Finds the block of Clojure code your cursor is in
and executes that.\n
\n
;; Try it now. Put your cursor inside this block and press ctrl and comma together, \n
;; release, then press b.\n
(+ 2 3)\n
\n
;; ctrl-, s - Executes the selection. Sends the selected text to the REPL.\n
\n
;; Try it now. Select these three lines and press ctrl and comma together, \n
;; release, then press s.\n
(println \"hello 1\")\n
(println \"hello 2\")\n
(println \"hello 3\")\n
\n
;; You can disable this help text in the settings.\n"

# The path to a default project to use if proto repl is started outside of a leiningen project
{'fraction_non_alphanumeric': 0.09334889148191365, 'fraction_numerical': 0.004278490859587709, 'mean_word_length': 3.6763636363636363, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4909495', 'n_tokens_mistral': 797, 'n_tokens_neox': 759, 'n_words': 401}