<commit_before>! Copyright (C) 2008 <NAME>.
! See http://factorcode.org/license.txt for BSD license.
USING: editors io.files io.launcher kernel math.parser
namespaces sequences windows.shell32 make ;
IN: editors.etexteditor

: etexteditor-path ( -- str )
    \ etexteditor-path get-global [
        program-files "e\\e.exe" append-path
    ] unless* ;

: etexteditor ( file line -- )
    [
        etexteditor-path ,
        [ , ] [ "--line" , number>string , ] bi*
    ] { } make USE: prettyprint dup . run-detached drop ;

[ etexteditor ] edit-hook set-global<commit_msg>remove debug, add -a option<commit_after>! Copyright (C) 2008 <NAME>.
! See http://factorcode.org/license.txt for BSD license.
USING: editors io.files io.launcher kernel math.parser
namespaces sequences windows.shell32 make ;
IN: editors.etexteditor

: etexteditor-path ( -- str )
    \ etexteditor-path get-global [
        program-files "e\\e.exe" append-path
    ] unless* ;

: etexteditor ( file line -- )
    [
        etexteditor-path , "-a" ,
        [ , ] [ "--line" , number>string , ] bi*
    ] { } make run-detached drop ;

[ etexteditor ] edit-hook set-global
{'fraction_non_alphanumeric': 0.1381118881118881, 'fraction_numerical': 0.01048951048951049, 'mean_word_length': 2.7664473684210527, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '4430868', 'n_tokens_mistral': 389, 'n_tokens_neox': 370, 'n_words': 93}