From b4448ddb042e5f5015125597633e368f17acbcec Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Thu, 19 Jan 2006 03:19:41 +0000 Subject: better marking of current cursor in Components.Input change eLabel to being able to mark a character --- lib/python/Components/VariableText.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/python/Components/VariableText.py') diff --git a/lib/python/Components/VariableText.py b/lib/python/Components/VariableText.py index 76dc201a..e2a755c5 100644 --- a/lib/python/Components/VariableText.py +++ b/lib/python/Components/VariableText.py @@ -12,6 +12,10 @@ class VariableText: if self.instance: self.instance.setText(self.message) + def setMarkedPos(self, pos): + if self.instance: + self.instance.setMarkedPos(int(pos)) + def getText(self): return self.message -- cgit v1.2.3