<commit_before>#------------------------------------------------------------------------------
# Copyright (c) 2007, Riverbank Computing Limited
# All rights reserved.
#
# This software is provided without warranty under the terms of the GPL v2
# license.
#
# Author: Riverbank Computing Limited
#------------------------------------------------------------------------------

""" Defines file editors and the file editor factory for the PyQt user 
    interface toolkit.
"""

#-------------------------------------------------------------------------------
#  Imports:
#-------------------------------------------------------------------------------

from os.path \
    import splitext, isfile, exists

from PyQt4 import QtCore, QtGui

from enthought.traits.api \
    import List, Str, Event, Bool, Int, Unicode

from enthought.traits.ui.api \
    import View, Group

from text_editor \
    import ToolkitEditorFactory as EditorFactory, \
           SimpleEditor         as SimpleTextEditor<commit_msg>Tracked latest wx fix.<commit_after>#------------------------------------------------------------------------------
# Copyright (c) 2007, Riverbank Computing Limited
# All rights reserved.
#
# This software is provided without warranty under the terms of the GPL v2
# license.
#
# Author: Riverbank Computing Limited
#------------------------------------------------------------------------------

""" Defines file editors and the file editor factory for the PyQt user 
    interface toolkit.
"""

#-------------------------------------------------------------------------------
#  Imports:
#-------------------------------------------------------------------------------

from os.path \
    import splitext, isfile, exists

from PyQt4 import QtCore, QtGui

from enthought.traits.api \
    import List, Str, Event, Bool, Int, Unicode, TraitError

from enthought.traits.ui.api \
    import View, Group

from text_editor \
    import ToolkitEditorFactory as EditorFactory, \
           SimpleEditor         as SimpleTextEditor
{'fraction_non_alphanumeric': 0.36013813517513565, 'fraction_numerical': 0.0059200789343857915, 'mean_word_length': 1.1437632135306555, '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': '7305238', 'n_tokens_mistral': 441, 'n_tokens_neox': 414, 'n_words': 157}