From 7a597a1f3ea4b45fb5ccf6e3a6607f8368951536 Mon Sep 17 00:00:00 2001 From: tshirtman Date: Tue, 23 Oct 2012 17:41:16 +0200 Subject: [PATCH] simplify codeinput example --- examples/widgets/codeinput.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/widgets/codeinput.py b/examples/widgets/codeinput.py index 0cfd972cf..6a16894fd 100644 --- a/examples/widgets/codeinput.py +++ b/examples/widgets/codeinput.py @@ -1,6 +1,5 @@ from kivy.app import App from kivy.extras.highlight import KivyLexer -from kivy.uix.codeinput import CodeInput from kivy.factory import Factory import pygments @@ -60,7 +59,7 @@ class CodeInputTest(App): languages.bind(text=self.change_lang) b.add_widget(languages) - self.codeinput = CodeInput( + self.codeinput = Factory.CodeInput( lexer=KivyLexer(), font_name='data/fonts/DroidSansMono.ttf', font_size=12, text=example_text)