From 25c00cc7e8b76fda7f2b664a019f430134dc2ada Mon Sep 17 00:00:00 2001 From: Alspb <73047043+Alspb@users.noreply.github.com> Date: Sat, 8 Jan 2022 10:02:20 +0000 Subject: [PATCH] CodeInput: fixed disappearing lines after inserting text (#7737) --- kivy/uix/codeinput.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kivy/uix/codeinput.py b/kivy/uix/codeinput.py index 28c0a8c9a..1fd6b6932 100644 --- a/kivy/uix/codeinput.py +++ b/kivy/uix/codeinput.py @@ -129,7 +129,7 @@ class CodeInput(CodeNavigationBehavior, TextInput): ntext = u'*' * len(ntext) ntext = self._get_bbcode(ntext) kw = self._get_line_options() - cid = u'{}\0{}\0{}'.format(ntext, self.password, kw) + cid = u'{}\0{}\0{}'.format(text, self.password, kw) texture = Cache_get('textinput.label', cid) if texture is None: