textInput highlight support

28 views
Skip to first unread message

husam alkdary

unread,
May 13, 2020, 7:33:41 PM5/13/20
to Kivy users support
can I highlight the selection text in the textInput widget  

Elliot Garbus

unread,
May 13, 2020, 8:17:10 PM5/13/20
to kivy-...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/265ecc51-e842-4353-b9d4-e4e6d969bab8%40googlegroups.com.

 

husam alkdary

unread,
May 14, 2020, 8:29:00 AM5/14/20
to Kivy users support
but the  highlight will remove when I remove the selection of the text
I want the  highlight to be permanent like in the pdf readers 

On Thursday, May 14, 2020 at 2:17:10 AM UTC+2, Elliot Garbus wrote:

Yes.  There is a default highlight, or you can change it.

 

https://kivy.org/doc/stable/api-kivy.uix.textinput.html?highlight=textinput#kivy.uix.textinput.TextInput.selection_color

 

 

 

From: husam alkdary
Sent: Wednesday, May 13, 2020 4:33 PM
To: Kivy users support
Subject: [kivy-users] textInput highlight support

 

can I highlight the selection text in the textInput widget  

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.

To unsubscribe from this group and stop receiving emails from it, send an email to kivy-...@googlegroups.com.

Elliot Garbus

unread,
May 14, 2020, 10:40:48 AM5/14/20
to kivy-...@googlegroups.com

The text input does not support that kind of operation, or adding markup (underlines, italics…).

To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/fe3ddd97-1c46-4240-893c-c187da29a0a1%40googlegroups.com.

 

Reply all
Reply to author
Forward
0 new messages