[LDTP-Dev] [Bug 381914] gettextproperty does not return anything

LDTP (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun Dec 3 23:12:16 PST 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=381914

  LDTP | ldtp | Ver: 0.6.x


Nagappan changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |NOTABUG




------- Comment #2 from Nagappan  2006-12-04 07:10 UTC -------
It works fine for me with Gedit 2.16.1 in OpenSuSE 10.2. I followed the steps
as you have mentioned. Open the file, search for some content and then close
the find dialog.

Result:
>>> from ldtp import *
>>> getcursorposition('*gedit','txt0')
160
>>> # Searched for the text 'Content' in a HTML file
...
>>> gettextproperty('*gedit','txt0',160,167)
'underline:none; strikethrough:false; weight:400; bg-color:65535,65535,30840;
fg-color:65535,0,65535; style:normal'


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email


More information about the LDTP-dev mailing list