controls/CustomStyledTextCtrl.py
changeset 2459 21164625b393
parent 2456 7373e3048167
child 2704 4ba3bdc7d71f
equal deleted inserted replaced
2458:2a70d5240300 2459:21164625b393
    22 # along with this program; if not, write to the Free Software
    22 # along with this program; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    24 
    24 
    25 
    25 
    26 from __future__ import absolute_import
    26 from __future__ import absolute_import
       
    27 from functools import reduce
    27 import wx
    28 import wx
    28 import wx.stc
    29 import wx.stc
       
    30 from six.moves import xrange
    29 
    31 
    30 if wx.Platform == '__WXMSW__':
    32 if wx.Platform == '__WXMSW__':
    31     faces = {
    33     faces = {
    32         'times': 'Times New Roman',
    34         'times': 'Times New Roman',
    33         'mono':  'Courier New',
    35         'mono':  'Courier New',